AssertErrorProc¶
Custom assert error handling procedure.
Declaration¶
Source position: systemh.inc line 1809
const
AssertErrorProc : TAssertErrorProc = @ SysAssert;
Description¶
If set, the AssertErrorProc constant is used when an assert error occurs. If it is not set, then the standard assert error handling is performed:
- The assertion error message is printed.
- The location of the assertion is printed.
- a stack dump is printed.
- The program exits with error code 227.
The SysUtils unit sets this procedure and raises an exception in its handler.
See also¶
| Name | Description |
|---|---|
| TAssertErrorProc | Assert error handler procedural type. |