Update src/error.rs
Co-authored-by: Sculas <contact@sculas.xyz>
This commit is contained in:
parent
4993c6ab2d
commit
36f09c524e
@ -19,7 +19,7 @@ pub enum DbErr {
|
|||||||
source: Box<dyn std::error::Error + Send + Sync>,
|
source: Box<dyn std::error::Error + Send + Sync>,
|
||||||
},
|
},
|
||||||
/// Type error: the specified type cannot be converted from u64. This is not a runtime error.
|
/// Type error: the specified type cannot be converted from u64. This is not a runtime error.
|
||||||
#[error("Type `{0}` cannot be converted from u64")]
|
#[error("Type '{0}' cannot be converted from u64")]
|
||||||
CannotConvertFromU64(&'static str),
|
CannotConvertFromU64(&'static str),
|
||||||
/// After an insert statement it was impossible to retrieve the last_insert_id
|
/// After an insert statement it was impossible to retrieve the last_insert_id
|
||||||
#[error("Failed to unpack last_insert_id")]
|
#[error("Failed to unpack last_insert_id")]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user