Struct onig::Error [] [src]

pub struct Error {
    // some fields omitted
}

This struture represents an error from the underlying Oniguruma libray.

Methods

impl Error
[src]

fn code(&self) -> i32

Return Oniguruma engine error code.

fn description(&self) -> &str

Return error description provided by Oniguruma engine.

Trait Implementations

impl Error for Error
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>
1.0.0

The lower-level cause of this error, if any. Read more

impl Display for Error
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Debug for Error
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.