Struct dist_tx::rm::RmError
[−]
[src]
pub struct RmError { /* fields omitted */ }
Represents the possible errors that can occur in a ResourceManager
.
Methods
impl RmError
[src]
fn new(c: ErrorCode, s: String) -> RmError
[src]
Factory method.
fn get_code(&self) -> ErrorCode
[src]
Returns the kind of error that has occured.
fn get_description(&self) -> String
[src]
Returns a textual description of the error.