Enum cleu_orm::Error[][src]

pub enum Error {
    CapacityError(CapacityError),
    Fmt(Error),
    NoDatabaseRowResult,
    Sqlx(Error),
}
Expand description

All possible errors

Downstream crates should implement From to compose more custom errors.

Variants

CapacityError(CapacityError)

Insufficient capacity

Tuple Fields of CapacityError

0: CapacityError
Fmt(Error)

Couldn’t be a string

Tuple Fields of Fmt

0: Error
NoDatabaseRowResult

No row was returned by the database

Sqlx(Error)

All SQL-related errors

Tuple Fields of Sqlx

0: Error

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.