Sign in Join
FPDoc Onlineexperiment

TRuntimeError enumeration

In unit System

Type of runtime-error for the Error procedure.

Declaration

pascal
TRuntimeError = (reNone,reOutOfMemory,reInvalidPtr,reDivByZero,
 reRangeError,reIntOverflow,reInvalidOp,reZeroDivide,
 reOverflow,reUnderflow,reInvalidCast,reAccessViolation,
 rePrivInstruction,reControlBreak,reStackOverflow,
 reVarTypeCast,reVarInvalidOp,reVarDispatch,
 reVarArrayCreate,reVarNotArray,reVarArrayBounds,
 reAssertionFailed,reExternalException,reIntfCastError,
 reSafeCallError,reQuit,reCodesetConversion,
 reNoDynLibsSupport,reThreadError)

Description

TRuntimeError is used in the Error procedure to indicate what kind of error should be reported.

See also

Values

reNoneNo error.
reOutOfMemoryOut of memory error.
reInvalidPtrInvalid pointer error.
reDivByZeroDivision by zero error.
reRangeErrorRange check error.
reIntOverflowInteger overflow error.
reInvalidOpInvalid operation error.
reZeroDivideDivision by zero error.
reOverflowOverflow error.
reUnderflowUnderflow error.
reInvalidCastInvalid (class) typecast error.
reAccessViolationAccess Violation.
rePrivInstructionPrivileged instruction error.
reControlBreakUser pressed CTRL-C.
reStackOverflowStack overflow error.
reVarTypeCastInvalid typecase from variant.
reVarInvalidOpInvalid variant operation error.
reVarDispatchVariant Dispatch error.
reVarArrayCreateVariant array creation error.
reVarNotArrayVariant is not an array error.
reVarArrayBoundsVariant array bounds error.
reAssertionFailedAssertion failed error.
reExternalExceptionAn external exception occurred.
reIntfCastErrorInterface typecast error.
reSafeCallErrorSafecall (IDispInterface) error.
reQuitQuit signal error.
reCodesetConversionCode set conversion error.
reNoDynLibsSupportRuntime error if no dynamic library support is available.
reThreadErrorRuntime error if no thread support is available.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.