Skip to main content

error_view

Macro error_view 

Source
error_view!() { /* proc-macro */ }
Expand description

error_view!("404"): compiles resources/views/errors/404.blade.xr if the app defines one, else Larust’s own built-in default page for that status - always produces a String. See error_view.rs’s own doc comment for the override mechanism’s limitations (no context bindings, so no @wire/@can/@role/persist globals, and best kept self-contained rather than @extends-ing a session-aware layout).

ⓘ
error_view!("404")