Skip to main content

default_internal_html

Function default_internal_html 

Source
pub fn default_internal_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 500 page. Production-mode only - debug mode (APP_DEBUG=true) never reaches this; see error::debug_page.