INJECT_RESPONSE_COOKIES_ERROR_INTO_RESPONSE

Constant INJECT_RESPONSE_COOKIES_ERROR_INTO_RESPONSE 

Source
pub const INJECT_RESPONSE_COOKIES_ERROR_INTO_RESPONSE: ErrorHandler;
Expand description

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

§Example

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

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