pub trait CommonErrorDerivative: From<CommonError> {
    // Provided methods
    fn internal_error<M: ToString>(msg: M) -> Self { ... }
    fn bad_request<M: ToString>(msg: M) -> Self { ... }
    fn forbidden<M: ToString>(msg: M) -> Self { ... }
}

Provided Methods§

source

fn internal_error<M: ToString>(msg: M) -> Self

source

fn bad_request<M: ToString>(msg: M) -> Self

source

fn forbidden<M: ToString>(msg: M) -> Self

Object Safety§

This trait is not object safe.

Implementors§

source§

impl CommonErrorDerivative for garage_api::s3::error::Error

source§

impl CommonErrorDerivative for garage_api::signature::error::Error