Enum ErrorCode
pub enum ErrorCode
A code identifying an error originating within this crate.
Variants
-
EofParsingArray -
EofParsingBool -
EofParsingComment -
EofParsingEscapeSequence -
EofParsingIdentifier -
EofParsingNull -
EofParsingNumber -
EofParsingObject -
EofParsingString -
EofParsingValue -
ExpectedBool -
ExpectedClosingBrace -
ExpectedClosingBracket -
ExpectedColon -
ExpectedComma -
ExpectedComment -
ExpectedIdentifier -
ExpectedNull -
ExpectedNumber -
ExpectedOpeningBrace -
ExpectedOpeningBracket -
ExpectedString -
ExpectedStringOrObject -
ExpectedValue -
InvalidBytes -
InvalidEscapeSequence -
InvalidKey -
LeadingZero -
LineTerminatorInString -
OverflowParsingNumber -
TrailingCharacters
Trait Implementations
impl Clone for ErrorCode
fn clone(&self) -> Self
impl Copy for ErrorCode
impl Debug for ErrorCode
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Display for ErrorCode
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl PartialEq for ErrorCode
fn eq(&self, other: &Self) -> bool