pub enum ErrorKind {
Eof,
StackEmpty {
offset: usize,
},
InvalidEmptyObject {
offset: usize,
},
InvalidSyntax {
msg: String,
offset: usize,
},
Deserialize(DeserializeError),
Io(Error),
}
Expand description
Specific type of error
Variants§
Eof
Unexpected end of input
StackEmpty
Too many close delimiters were encountered
InvalidEmptyObject
Expected a close delimiter after encountering an empty opener
InvalidSyntax
Fields
Invalid syntax encountered
Deserialize(DeserializeError)
An error occurred when deserializing the data
Io(Error)
An error occurred when performing IO.