FINALIZE_ERROR_INTO_RESPONSE

Constant FINALIZE_ERROR_INTO_RESPONSE 

Source
pub const FINALIZE_ERROR_INTO_RESPONSE: ErrorHandler;
Expand description

A handle to add FinalizeError::into_response() as an error handler to your Pavex application.

§Example

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

let mut bp = Blueprint::new();
// Add `FinalizeError::into_response()` as an error handler to your application.
bp.error handler(FINALIZE_ERROR_INTO_RESPONSE);