Struct lldb::SBError
[−]
[src]
pub struct SBError { pub raw: SBErrorRef, }
A container for holding any error code.
Fields
raw: SBErrorRef
The underlying raw SBErrorRef
.
Methods
impl SBError
[src]
fn new() -> SBError
[src]
Construct a new SBError
.
fn wrap(raw: SBErrorRef) -> SBError
[src]
Construct a new SBError
.
fn maybe_wrap(raw: SBErrorRef) -> Option<SBError>
[src]
Construct a new Some(SBError)
or None
.
fn is_valid(&self) -> bool
[src]
Check whether or not this is a valid SBError
value.
fn error_string(&self) -> &str
[src]
Any textual error message associated with the error.
fn is_failure(&self) -> bool
[src]
Does this error represent a failure?
fn is_success(&self) -> bool
[src]
Does this error represent a success?
fn error(&self) -> u32
[src]
The underlying error code. Must be interpreted in conjunction with the error type.
fn error_type(&self) -> ErrorType
[src]
What type of error is this?