Enum polar_core::error::ParseError [−][src]
pub enum ParseError {
IntegerOverflow {
token: String,
loc: usize,
},
InvalidTokenCharacter {
token: String,
c: char,
loc: usize,
},
InvalidToken {
loc: usize,
},
UnrecognizedEOF {
loc: usize,
},
UnrecognizedToken {
token: String,
loc: usize,
},
ExtraToken {
token: String,
loc: usize,
},
ReservedWord {
token: String,
loc: usize,
},
InvalidFloat {
token: String,
loc: usize,
},
WrongValueType {
loc: usize,
term: Term,
expected: String,
},
DuplicateKey {
loc: usize,
key: String,
},
}Variants
Show fields
Fields of InvalidToken
loc: usizeShow fields
Fields of UnrecognizedEOF
loc: usizeTrait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ParseErrorimpl Send for ParseErrorimpl Sync for ParseErrorimpl Unpin for ParseErrorimpl UnwindSafe for ParseErrorBlanket Implementations
Mutably borrows from an owned value. Read more