mirror of
https://github.com/fluencelabs/sqlite-wasm-connector
synced 2025-06-26 05:21:33 +00:00
Change the error kind when there is no code available
This commit is contained in:
@ -65,7 +65,7 @@ declare!(
|
||||
impl<T> From<T> for Error where T: Into<String> {
|
||||
#[inline]
|
||||
fn from(message: T) -> Error {
|
||||
Error { kind: ErrorKind::Error, message: Some(message.into()) }
|
||||
Error { kind: ErrorKind::Unknown, message: Some(message.into()) }
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user