Enum rustc_serialize::json::ErrorCode
[−]
[src]
pub enum ErrorCode { InvalidSyntax, InvalidNumber, EOFWhileParsingObject, EOFWhileParsingArray, EOFWhileParsingValue, EOFWhileParsingString, KeyMustBeAString, ExpectedColon, TrailingCharacters, TrailingComma, InvalidEscape, InvalidUnicodeCodePoint, LoneLeadingSurrogateInHexEscape, UnexpectedEndOfHexEscape, UnrecognizedHex, NotFourDigit, ControlCharacterInString, NotUtf8, }
The errors that can arise while parsing a JSON stream.
Variants
InvalidSyntax | ||
InvalidNumber | ||
EOFWhileParsingObject | ||
EOFWhileParsingArray | ||
EOFWhileParsingValue | ||
EOFWhileParsingString | ||
KeyMustBeAString | ||
ExpectedColon | ||
TrailingCharacters | ||
TrailingComma | ||
InvalidEscape | ||
InvalidUnicodeCodePoint | ||
LoneLeadingSurrogateInHexEscape | ||
UnexpectedEndOfHexEscape | ||
UnrecognizedHex | ||
NotFourDigit | ||
ControlCharacterInString | ||
NotUtf8 |