Websites Navigation: Airbit | Shop | m-shell.net
Languages: EN | DE

Exception Tags

This section lists the exceptions tags with their english error message.

Environment Exceptions

Environment exceptions are usually thrown by the underlying operation system, e.g. when trying to access a file which does not exist.

  • ErrAbort: Operation aborted.
  • ErrAccessDenied: Access denied.
  • ErrAlreadyExists: File already exists.
  • ErrArgument: Invalid function argument.
  • ErrBadHandle: Object handle is bad.
  • ErrBadName: Name is bad.
  • ErrCancel: Operation canceled.
  • ErrCommsBreak: Break in communications occured.
  • ErrCommsFrame:: Serial framing error.
  • ErrCommsLineFail:: Serial line failed.
  • ErrCommsOverrun:: Serial overrun error.
  • ErrCommsParity:: Serial parity error.
  • ErrCorrupt: File or database corrupted.
  • ErrCouldNotConnect:: Could not connect.
  • ErrCouldNotDisconnect:: Could not disconnect.
  • ErrDied: Thread or process died.
  • ErrDirFull: Directory is full.
  • ErrDisconnected:: Link is disconnected.
  • ErrDiskFull: Disk is full.
  • ErrDivideByZero: Integer division by zero.
  • ErrEof: Eof reached.
  • ErrExtensionNotSupported: Extension function is not supported.
  • ErrGeneral: General problem.
  • ErrHardwareNotAvailable: Hardware is not available or not enabled.
  • ErrInUse: File or device is in use.
  • ErrLocked: Object locked.
  • ErrNoMemory: Out of memory. This exception cannot be catched.
  • ErrNotFound: File or item not found.
  • ErrNotReady: Device is not ready.
  • ErrNotSupported: Operation not supported.
  • ErrOverflow: Numeric overflow.
  • ErrPathNotFound: Path not found.
  • ErrPermissionDenied: Permission denied by platform security.
  • ErrServerTerminated: Server has terminated.
  • ErrServerBusy: Server is busy.
  • ErrSessionClosed: Server session has been closed.
  • ErrTimedOut:: Operation timed out.
  • ErrTooBig:: Value or array too big.
  • ErrTotalLossOfPrecision: Total loss of precision.
  • ErrUnderflow: Numeric underflow.
  • ErrUnknown: Device is not known.
  • ErrWrite: Write failed.
  • ExcNotPermitted: Operation not permitted by user.

Programming Exceptions

Programming exceptions are thrown by m, and usually caused by an error in your code or an unexpected user input.

  • ExcArrayNotNumber: Operand is an array, not a number.
  • ExcBooleanNotNumber: Operand is a boolean, not a number.
  • ExcForwardFunction: Function is only forward declared.
  • ExcFunctionNotNumber: Operand is a function, not a number.
  • ExcIndexOutOfRange: Array index is out of range.
  • ExcInterrupted: Interrupted function call.
  • ExcInvalidIndexType: Array index is neither number nor string.
  • ExcInvalidNumber: Wrong number format.
  • ExcInvalidUTF8: Invalid UTF-8 character read.
  • ExcModuleBusy: Module is busy with other function.
  • ExcNativeNotNumber: Operand is native object, not a number.
  • ExcNoSuchClass: Class not loaded.
  • ExcNoSuchKey: No array element for key.
  • ExcNotArray: Operand is not an array.
  • ExcNotAvailable: Function or variable is unavailable.
  • ExcNotBoolean: Operand is not a boolean.
  • ExcNotComparable: Can only order two numbers or two strings.
  • ExcNotFunction: Operand is not a function reference.
  • ExcNotNative: Operand is not a native object.
  • ExcNotNumber: Operand is not a number.
  • ExcNotString: Operand is not a string.
  • ExcNotSuchInstance: Not such instance.
  • ExcNullNotNumber: Operand is null, not a number.
  • ExcNullNotInstance: Operand is null, not an instance.
  • ExcStringNotNumber: Operand is a string, not a number.
  • ExcStringPosOutOfRange: String position is out of range.
  • ExcTooManyGlobals: Too many global variables, split into modules.
  • ExcUnknownField: Unknown field referenced by native function.
  • ExcUnknownModule: Unknown module referenced by native function.
  • ExcValueOutOfRange: Value or parameter is outside valid range.
  • ExcWrongNative: Operand has wrong native object type.
  • ExcWrongParamCount: Too many or too few function parameters.

Internal Error Exceptions

Internal error exceptions are thrown by m when it detects an internal inconsistency. These exceptions cannot be catched, and are most likely caused by a bug in m or in a native module.

  • ErrDisabledFunction: Internal error: interpreting disabled function.
  • ErrDuplicateModule: Internal error: duplicate module.
  • ErrDuplicateNative: Internal error: duplicate native function.
  • ErrEndOfCode: Internal error: falling through end of code.
  • ErrInvalidDll: Internal error: DLL did not return module.
  • ErrInvalidFrame: Internal error: invalid stack frame contents.
  • ErrInvalidFunctionIndex: Loader error: invalid function index.
  • ErrInvalidInstruction: Internal error: invalid instruction.
  • ErrInvalidModuleIndex: Loader error: invalid module index.
  • ErrInvalidStack: Internal error: invalid stack.
  • ErrInvalidVariableIndex: Loader error: invalid variable index.
  • ErrMissingDll: Internal error: module DLL is missing.
  • ErrNativeFunction: Internal error: interpreting native function.
  • ErrNoCode: Internal error: interpreting without code.
  • ErrNoNativeFunction: Internal error: no native function to add option to.
  • ErrNotInstance: Internal error: using non-instance as instance
  • ErrRTVersionMismatch: Internal error: runtime version mismatch. Get an up to date version of the runtime or native module.
  • ErrStringExtension: Internal error: string extension.

© 2004-2011 airbit AG, CH-8008 Zürich
Document AB-M-REF-887
mShell Home  > Documentation  > Manuals