Struct tsukuyomi::json::JsonErrorHandler[][src]

pub struct JsonErrorHandler { /* fields omitted */ }

An error handler for creating JSON error responses.

Methods

impl JsonErrorHandler
[src]

Trait Implementations

impl Debug for JsonErrorHandler
[src]

Formats the value using the given formatter. Read more

impl Default for JsonErrorHandler
[src]

Returns the "default value" for a type. Read more

impl ErrorHandler for JsonErrorHandler
[src]

Creates an HTTP response from the provided error value.

Auto Trait Implementations