Skip to main content

default_not_found_html

Function default_not_found_html 

Source
pub fn default_not_found_html() -> String
Expand description

Re-exported (not just used internally) so macro-generated code can reference ::larust_support::axum::.../::larust_support::AppError instead of ::larust_core::... - a crate depending on larust-support alone must not need larust-core as a direct dependency just to use a macro. Keep every path in larust-macros’ generated code routed through larust_support for the same reason. default_not_found_html/ default_internal_html are error_view!’s own fallback when no resources/views/errors/{code}.blade.xr override exists. The framework’s own built-in 404 page - styled to match the demo app’s branding (see page_shell’s own doc comment for the exact source of the color tokens/copy this mirrors).