DEFAULT_FALLBACK

Constant DEFAULT_FALLBACK 

Source
pub const DEFAULT_FALLBACK: Fallback;
Expand description

A handle to add default_fallback() as a fallback handler to your Pavex application.

§Example

use pavex::Blueprint;
// [...]
// ^ Import `DEFAULT_FALLBACK` here

let mut bp = Blueprint::new();
// Add `default_fallback()` as a fallback handler to your application.
bp.fallback(DEFAULT_FALLBACK);