mirror of
https://github.com/fluencelabs/sqlite-wasm-connector
synced 2025-03-15 06:20:50 +00:00
Change the error kind when there is no code available
This commit is contained in:
parent
985cde931f
commit
15539354b4
@ -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()) }
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user