mirror of
https://git.joinfirefish.org/firefish/firefish.git
synced 2024-05-19 00:51:11 +02:00
83c15b1026
Co-authored-by: sup39 <dev@sup39.dev>
10 lines
294 B
Rust
10 lines
294 B
Rust
#[derive(thiserror::Error, Debug, PartialEq, Eq)]
|
|
pub enum Error {
|
|
#[error("Failed to parse string: {0}")]
|
|
ParseError(#[from] parse_display::ParseError),
|
|
#[error("Database error: {0}")]
|
|
DbError(#[from] sea_orm::DbErr),
|
|
#[error("Requested entity not found")]
|
|
NotFound,
|
|
}
|