[Overview][Constants][Types][Classes][Procedures and functions][Variables] | Reference for unit 'System' (#rtl) |
Custom assert error handling procedure
Source position: systemh.inc line 825
const AssertErrorProc: TAssertErrorProc = @SysAssert; |
If set, the AbstractErrorProc constant is used when an assert error occurs. If it is not set, then the standard error handling is done: The assertion error message is printed, together with the location of the assertion, and A stack dump is performed, and the program exits with error code 227.
The SysUtils unit sets this procedure and raises an exception in its handler.
No notes exist for this page yet.