pub enum ErrorType {
Show 14 variants
TypeFail,
DuplicateBinding,
Unsupported,
NoSuchSymbol,
BadArgLen,
FormatError,
IncludeError,
ImportError,
ReservedWordError,
ParseError,
AssertError,
OSError,
ConvertError,
UserDefined,
}
Expand description
ErrorType defines the various types of errors that can result from compiling UCG into an output format.
Variants§
TypeFail
DuplicateBinding
Unsupported
NoSuchSymbol
BadArgLen
FormatError
IncludeError
ImportError
ReservedWordError
ParseError
AssertError
OSError
ConvertError
UserDefined
Trait Implementations§
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