Skip to main content

IntoProblem

Trait IntoProblem 

Source
pub trait IntoProblem {
    // Required method
    fn into_problem(self, instance: &str, trace_id: Option<String>) -> Problem;
}
Expand description

Helper trait for converting errors to Problem responses with context

Required Methods§

Source

fn into_problem(self, instance: &str, trace_id: Option<String>) -> Problem

Implementations on Foreign Types§

Source§

impl IntoProblem for Error

Source§

fn into_problem(self, instance: &str, trace_id: Option<String>) -> Problem

Source§

impl IntoProblem for Error

Source§

fn into_problem(self, instance: &str, trace_id: Option<String>) -> Problem

Implementors§