Enum json_ld_syntax::parse::Error
source · pub enum Error<M, E = Infallible> {
Stream(E),
Unexpected(Option<char>),
InvalidUnicodeCodePoint(u32),
MissingLowSurrogate(Meta<u16, M>),
InvalidLowSurrogate(Meta<u16, M>, u32),
}
Expand description
Parse error.
Variants§
Stream(E)
Stream error.
Unexpected(Option<char>)
Unexpected character or end of stream.
InvalidUnicodeCodePoint(u32)
Invalid unicode codepoint.
MissingLowSurrogate(Meta<u16, M>)
Missing low surrogate in a string.
InvalidLowSurrogate(Meta<u16, M>, u32)
Invalid low surrogate in a string.
Trait Implementations§
source§impl<E, M> Error for Error<M, E>where
E: 'static + Error,
M: Debug,
impl<E, M> Error for Error<M, E>where
E: 'static + Error,
M: Debug,
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()