Struct onig::Error [−][src]
pub struct Error { /* fields omitted */ }
This struture represents an error from the underlying Oniguruma libray.
Methods
impl Error
[src]
impl Error
pub fn code(&self) -> i32
[src]
pub fn code(&self) -> i32
Return Oniguruma engine error code.
pub fn description(&self) -> &str
[src]
pub fn description(&self) -> &str
Return error description provided by Oniguruma engine.
Trait Implementations
impl Error for Error
[src]
impl Error for Error
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
1.0.0
[src]The lower-level cause of this error, if any. Read more
impl Display for Error
[src]
impl Display for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Debug for Error
[src]
impl Debug for Error