mirror of
https://github.com/fluencelabs/sqlite-wasm-connector
synced 2025-04-11 10:36:04 +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> {
|
impl<T> From<T> for Error where T: Into<String> {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn from(message: T) -> Error {
|
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