Function mas_handlers::fallback

source ·
pub async fn fallback(
    __arg0: State<Templates>,
    __arg1: OriginalUri,
    method: Method,
    version: Version,
    __arg4: PreferredLanguage,
) -> Result<impl IntoResponse, FancyError>
Expand description

The fallback handler for all routes that don’t match anything else.

§Errors

Returns an error if the template rendering fails.