Update src/error.rs
Co-authored-by: Sculas <contact@sculas.xyz>
This commit is contained in:
parent
4d95218430
commit
4993c6ab2d
@ -6,7 +6,7 @@ use thiserror::Error;
|
|||||||
#[derive(Error, Debug)]
|
#[derive(Error, Debug)]
|
||||||
pub enum DbErr {
|
pub enum DbErr {
|
||||||
/// This error can happen when the connection pool is fully-utilized
|
/// This error can happen when the connection pool is fully-utilized
|
||||||
#[error("Failed to acquire connection from pool.")]
|
#[error("Failed to acquire connection from pool")]
|
||||||
ConnFromPool,
|
ConnFromPool,
|
||||||
/// Runtime type conversion error
|
/// Runtime type conversion error
|
||||||
#[error("Error converting `{from}` into `{into}`: {source}")]
|
#[error("Error converting `{from}` into `{into}`: {source}")]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user