(value: wasmparser::BinaryReaderError)
| 62 | |
| 63 | impl From<wasmparser::BinaryReaderError> for ParseError { |
| 64 | fn from(value: wasmparser::BinaryReaderError) -> Self { |
| 65 | Self::ParseError { message: value.message().to_string(), offset: value.offset() } |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | pub(crate) type Result<T, E = ParseError> = core::result::Result<T, E>; |