Struct mdccc::error::Error [−][src]
pub struct Error { /* fields omitted */ }
A Markdown -> LaTeX conversion error.
Methods
impl Error
[src]
impl Error
pub fn new<S>(message: S) -> Self where
S: Into<Cow<'static, str>>,
[src]
pub fn new<S>(message: S) -> Self where
S: Into<Cow<'static, str>>,
Instantiate an Error
using a message.
pub fn with_cause<S, E>(message: S, cause: E) -> Self where
S: Into<Cow<'static, str>>,
E: Error + 'static,
[src]
pub fn with_cause<S, E>(message: S, cause: E) -> Self where
S: Into<Cow<'static, str>>,
E: Error + 'static,
Instantiate an Error
using a message and a cause.
Trait Implementations
impl Debug for Error
[src]
impl Debug 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 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 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>
[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<Error> for Error
[src]
impl From<Error> for Error
impl From<Error> for Error
[src]
impl From<Error> for Error