remove panic, expect and unimplemented from microwasm + use Result as return value for some functions (#652)
This commit is contained in:
committed by
Dan Gohman
parent
4fd56de4df
commit
027f6117d6
@@ -12,6 +12,9 @@ pub enum Error {
|
||||
|
||||
#[error("Input error: {0}")]
|
||||
Input(String),
|
||||
|
||||
#[error("Microwasm error: {0}")]
|
||||
Microwasm(String),
|
||||
}
|
||||
|
||||
impl From<BinaryReaderError> for Error {
|
||||
|
||||
Reference in New Issue
Block a user