Enum notedown_error::NoteErrorKind [−][src]
pub enum NoteErrorKind {
IOError(Error),
FormatError(Error),
SyntaxError(String),
TypeMismatch(String),
RuntimeError(String),
UndefinedVariable {
name: String,
},
Unreachable,
}Expand description
Actual error data for the error
Variants
IOError(Error)
Tuple Fields
0: ErrorThe error type for I/O operations
FormatError(Error)
Tuple Fields
0: ErrorThe error type which is returned from formatting a message into a stream.
SyntaxError(String)
Tuple Fields
0: StringThe error type which is
TypeMismatch(String)
Tuple Fields
0: StringThe error type which is
RuntimeError(String)
Tuple Fields
0: StringThe error type which is occurred at runtime
UndefinedVariable
Fields
name: StringThe name of the undefined variable
Runtime error when variable is undefined
Unreachable
A forbidden cst_node encountered
