Skip to content

TRuntimeError

Type of runtime-error for the Error procedure.

Declaration

Source position: systemh.inc line 1712

type
  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)

Values

Value Description
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

Name Description
Error Generate run-time error.