lariv-rs 0.1.0

Compile-time plugin web application framework built on Axum, SeaORM, Maud, and HTMX
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use thiserror::Error;

#[derive(Debug, Error)]
pub enum OtpError {
    #[error(transparent)]
    Db(#[from] sea_orm::DbErr),

    #[error("{0}")]
    Message(String),

    #[error("OTP send failed")]
    SendFailed,

    #[error("not found")]
    NotFound,
}