bfile/filed/src/web/rejection.rs

10 lines
211 B
Rust

use std::string::FromUtf8Error;
#[derive(Debug)]
pub enum HttpReject {
WarpError(warp::Error),
AskamaError(askama::Error),
FromUtf8Error(FromUtf8Error)
}
impl warp::reject::Reject for HttpReject {}