pub trait ExceptionInfo {
    // Required methods
    fn exn_value(&self) -> String;
    fn exn_is_declared(&self) -> bool;

    // Provided method
    fn exn_name(&self) -> &'static str { ... }
}
Expand description

This trait should be implemented for each individual exception type. It will typically be generated.

Required Methods§

source

fn exn_value(&self) -> String

source

fn exn_is_declared(&self) -> bool

Is a declared exception

Provided Methods§

source

fn exn_name(&self) -> &'static str

Exception name

Implementors§