Skip to main content

TrpError

Trait TrpError 

Source
pub trait TrpError {
    // Required methods
    fn code(&self) -> i32;
    fn data(&self) -> Option<Value>;
}

Required Methods§

Source

fn code(&self) -> i32

Source

fn data(&self) -> Option<Value>

Implementations on Foreign Types§

Source§

impl TrpError for Error

Source§

fn code(&self) -> i32

Source§

fn data(&self) -> Option<Value>

Implementors§

Source§

impl TrpError for tx3_resolver::Error