pub enum ErrorCode {
Show 28 variants
Break = 0,
NextWithoutFor = 1,
SyntaxError = 2,
ReturnWithoutGosub = 3,
OutOfData = 4,
IllegalFunctionCall = 5,
Overflow = 6,
OutOfMemory = 7,
UndefinedLine = 8,
SubscriptOutOfRange = 9,
RedimensionedArray = 10,
DivisionByZero = 11,
IllegalDirect = 12,
TypeMismatch = 13,
OutOfStringSpace = 14,
StringTooLong = 15,
CantContinue = 17,
UndefinedUserFunction = 18,
RedoFromStart = 21,
LineBufferOverflow = 23,
ForWithoutNext = 26,
WhileWithoutWend = 29,
WendWithoutWhile = 30,
InternalError = 51,
FileNotFound = 53,
FileAlreadyExists = 58,
BadFileName = 64,
DirectStatementInFile = 66,
}
Variants§
Break = 0
NextWithoutFor = 1
SyntaxError = 2
ReturnWithoutGosub = 3
OutOfData = 4
IllegalFunctionCall = 5
Overflow = 6
OutOfMemory = 7
UndefinedLine = 8
SubscriptOutOfRange = 9
RedimensionedArray = 10
DivisionByZero = 11
IllegalDirect = 12
TypeMismatch = 13
OutOfStringSpace = 14
StringTooLong = 15
CantContinue = 17
UndefinedUserFunction = 18
RedoFromStart = 21
LineBufferOverflow = 23
ForWithoutNext = 26
WhileWithoutWend = 29
WendWithoutWhile = 30
InternalError = 51
FileNotFound = 53
FileAlreadyExists = 58
BadFileName = 64
DirectStatementInFile = 66
Auto Trait Implementations§
impl Freeze for ErrorCode
impl RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl UnwindSafe for ErrorCode
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