Parent
[>]
1//! Application error types and HTTP response rendering. 2//! 3//! Defines the unified [`Error`] enum used across all handlers and the 4//! [`Result`] type alias. `Error` implements [`IntoResponse`] via askama's 5//! `error.html` template. 6 7use Template; 8use ; 9use ; 10use Error; 11 12/// Unified error type for the application. 13/// 14/// Each variant maps to an HTTP status code and a rendered error page. 15 16 28 29/// Convenience alias for `std::result::Result<T, Error>`. 30pub type Result<T> = Result; 31 32 33 34 40 41