Trait fbthrift_git::ExceptionInfo
source · 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.