Skip to main content

RestError

Derive Macro RestError 

Source
#[derive(RestError)]
{
    // Attributes available to this derive:
    #[rest_error]
}
Expand description

#[derive(RestError)] #[rest_error(status = 401, code = 1000)]