[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'System' (#rtl)

# TRuntimeError

Type of runtime-error for the Error procedure

## Declaration

Source position: systemh.inc line 1496

`type TRuntimeError = (`
`reNone,` |  | No error
`reOutOfMemory,` |  | Out of memory error
`reInvalidPtr,` |  | Invalid pointer error
`reDivByZero,` |  | Division by zero error
`reRangeError,` |  | Range check error
`reIntOverflow,` |  | Integer overflow error
`reInvalidOp,` |  | Invalid operation error
`reZeroDivide,` |  | Division by zero error
`reOverflow,` |  | Overflow error
`reUnderflow,` |  | Underflow error
`reInvalidCast,` |  | Invalid (class) typecast error
`reAccessViolation,` |  | Access Violation
`rePrivInstruction,` |  | Privileged instruction error
`reControlBreak,` |  | User pressed CTRL-C
`reStackOverflow,` |  | Stack overflow error
`reVarTypeCast,` |  | Invalid typecase from variant
`reVarInvalidOp,` |  | Invalid variant operation error
`reVarDispatch,` |  | Variant Dispatch error.
`reVarArrayCreate,` |  | Variant array creation error
`reVarNotArray,` |  | Variant is not an array error.
`reVarArrayBounds,` |  | Variant array bounds error
`reAssertionFailed,` |  | Assertion failed error
`reExternalException,` |  | An external exception occurred
`reIntfCastError,` |  | Interface typecast error
`reSafeCallError,` |  | Safecall (IDispInterface) error
`reQuit,` |  | Quit signal error
`reCodesetConversion,` |  | Code set conversion error
`reNoDynLibsSupport,` |  | Runtime error if no dynamic library support is available
`reThreadError` |  | Runtime error if no thread support is available
`);`

## Description

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

## See also

Error |  | Generate run-time error