1
2
3
4
5
6
7
8
9
use http::Response;
pub use mendes_derive::dispatch;

pub trait Application {
    type ResponseBody;
    type Error;

    fn error(&self, error: Self::Error) -> Response<Self::ResponseBody>;
}