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

    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§

Is a declared exception

Provided Methods§

Exception name

Implementors§