pub enum ErrorType {
UnexpectedClosing(ScopeVariant),
UnclosedArgument(ScopeVariant),
UnclosedScope(ScopeVariant),
NoEnvironmentLabel,
UnexpectedEnd(String),
UnclosedEnvironment(String),
TooManyArgsEnd,
TooManyArgsDocumentClass,
DoubleDocumentClass,
UnexpectedMathsEnd,
UnclosedMaths,
Internal(InternalError),
}
Expand description
Error message content
Variants§
UnexpectedClosing(ScopeVariant)
There are too many closing parenthesis of said variant
UnclosedArgument(ScopeVariant)
There is an unclosed command argument of said parenthesis variant
UnclosedScope(ScopeVariant)
There is an unclosed scope of said parenthesis variant
NoEnvironmentLabel
Missing environment label
UnexpectedEnd(String)
There are too many \end
of said environment
UnclosedEnvironment(String)
The environment is unclosed with a \end
command
TooManyArgsEnd
There are more than one argument at a \end
command
TooManyArgsDocumentClass
There are more than 1 argument for documentclass
DoubleDocumentClass
Document class is called more than once
UnexpectedMathsEnd
Maths block ended before it is begin
UnclosedMaths
Maths block is unclosed
Internal(InternalError)
Non LaTeX related error
Trait Implementations§
impl Eq for ErrorType
impl StructuralPartialEq for ErrorType
Auto Trait Implementations§
impl Freeze for ErrorType
impl RefUnwindSafe for ErrorType
impl Send for ErrorType
impl Sync for ErrorType
impl Unpin for ErrorType
impl UnwindSafe for ErrorType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more