[][src]Trait bbs::errors::BBSErrorExt

pub trait BBSErrorExt {
    fn to_bbs<D>(self, kind: BBSErrorKind, msg: D) -> BBSError
    where
        D: Display + Send + Sync + 'static
; }

Extension methods for Error.

Required methods

fn to_bbs<D>(self, kind: BBSErrorKind, msg: D) -> BBSError where
    D: Display + Send + Sync + 'static, 

convert self with kind and static string into an error

Loading content...

Implementors

impl<E> BBSErrorExt for E where
    E: Fail
[src]

Loading content...