Enum erl_pp::ErrorKind
[−]
[src]
pub enum ErrorKind { InvalidInput, UnexpectedToken(LexicalToken), UnexpectedEos, }
The list of the possible error kinds
Variants
InvalidInput
Input is invalid.
UnexpectedToken(LexicalToken)
Unexpected token.
UnexpectedEos
Unexpected End-Of-String.
Trait Implementations
impl Debug for ErrorKind
[src]
impl Clone for ErrorKind
[src]
fn clone(&self) -> ErrorKind
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl TrackableErrorKind for ErrorKind
[src]
fn description(&self) -> &str
A short description of the error kind. Read more
fn display(&self, f: &mut Formatter) -> Result<(), Error>
Displays this kind. Read more
fn is_tracking_needed(&self) -> bool
Returns whether the error of this kind is needed to be tracked. Read more
fn is_assigning_tracking_number_needed(&self) -> bool
Returns whether the error of this kind is needed to be assigned a tracking number automatically. Read more