Struct erg_parser::error::ParserRunnerError
source · pub struct ParserRunnerError {
pub core: ErrorCore,
pub input: Input,
}
Fields§
§core: ErrorCore
§input: Input
Implementations§
Trait Implementations§
source§impl Debug for ParserRunnerError
impl Debug for ParserRunnerError
source§impl Display for ParserRunnerError
impl Display for ParserRunnerError
source§impl Error for ParserRunnerError
impl Error for ParserRunnerError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl ErrorDisplay for ParserRunnerError
impl ErrorDisplay for ParserRunnerError
fn core(&self) -> &ErrorCore
fn input(&self) -> &Input
source§fn caused_by(&self) -> &str
fn caused_by(&self) -> &str
The block name the error caused.
This will be None if the error occurred before semantic analysis.
fn write_to_stderr(&self)
fn write_to<W>(&self, w: &mut W)where W: Write,
fn show(&self) -> String
source§impl FromIterator<ParserRunnerError> for ParserRunnerErrors
impl FromIterator<ParserRunnerError> for ParserRunnerErrors
source§fn from_iter<I: IntoIterator<Item = ParserRunnerError>>(iter: I) -> Self
fn from_iter<I: IntoIterator<Item = ParserRunnerError>>(iter: I) -> Self
Creates a value from an iterator. Read more