- __switch_errorT
void __switch_errorT(string file, size_t line)
Undocumented in source. Be warned that the author may not have intended to support it.
- _d_arraybounds
void _d_arraybounds(string file, uint line)
Called when an invalid array index/slice or associative array key is accessed
- _d_arraybounds_index
void _d_arraybounds_index(string file, uint line, size_t index, size_t length)
Called when an out of range array index is accessed
- _d_arraybounds_indexp
void _d_arraybounds_indexp(immutable(char*) file, uint line, size_t index, size_t length)
Called when an out of range array index is accessed
- _d_arraybounds_slice
void _d_arraybounds_slice(string file, uint line, size_t lower, size_t upper, size_t length)
Called when an out of range slice of an array is created
- _d_arraybounds_slicep
void _d_arraybounds_slicep(immutable(char*) file, uint line, size_t lower, size_t upper, size_t length)
Called when an out of range slice of an array is created
- _d_arrayboundsp
void _d_arrayboundsp(immutable(char*) file, uint line)
Called when an invalid array index/slice or associative array key is accessed
- _d_assert
void _d_assert(string file, uint line)
Undocumented in source. Be warned that the author may not have intended to support it.
- _d_assert_msg
void _d_assert_msg(string msg, string file, uint line)
Undocumented in source. Be warned that the author may not have intended to support it.
- _d_assertp
void _d_assertp(immutable(char)* file, uint line)
Function calls to these are generated by the compiler and inserted into
the object code.
- _d_unittest
void _d_unittest(string file, uint line)
Undocumented in source. Be warned that the author may not have intended to support it.
- _d_unittest_msg
void _d_unittest_msg(string msg, string file, uint line)
Undocumented in source. Be warned that the author may not have intended to support it.
- _d_unittestp
void _d_unittestp(immutable(char)* file, uint line)
Undocumented in source. Be warned that the author may not have intended to support it.
- onArrayIndexError
noreturn onArrayIndexError(size_t index, size_t length, string file, size_t line)
A callback for array index out of bounds errors in D.
- onArraySliceError
noreturn onArraySliceError(size_t lower, size_t upper, size_t length, string file, size_t line)
A callback for array slice out of bounds errors in D.
- onAssertError
void onAssertError(string file, size_t line)
A callback for assert errors in D. The user-supplied assert handler will
be called if one has been supplied, otherwise an AssertError will be
thrown.
- onAssertErrorMsg
void onAssertErrorMsg(string file, size_t line, string msg)
* A callback for assert errors in D. The user-supplied assert handler will
* be called if one has been supplied, otherwise an AssertError will be
* thrown.
*
* Params:
* file = The name of the file that signaled this error.
* line = The line number on which this error occurred.
* msg = An error message supplied by the user.
//
- onFinalizeError
noreturn onFinalizeError(TypeInfo info, Throwable e, string file, size_t line)
A callback for finalize errors in D. A FinalizeError will be thrown.
- onForkError
noreturn onForkError(string file, size_t line)
A callback for errors in the case of a failed fork in D. A ForkError will be thrown.
- onInvalidMemoryOperationError
noreturn onInvalidMemoryOperationError(void* pretend_sideffect)
Undocumented in source. Be warned that the author may not have intended to support it.
- onInvalidMemoryOperationError
noreturn onInvalidMemoryOperationError(void* pretend_sideffect)
- onOutOfMemoryError
noreturn onOutOfMemoryError(void* pretend_sideffect)
Undocumented in source. Be warned that the author may not have intended to support it.
- onOutOfMemoryError
noreturn onOutOfMemoryError(void* pretend_sideffect)
- onOutOfMemoryErrorNoGC
noreturn onOutOfMemoryErrorNoGC()
Undocumented in source. Be warned that the author may not have intended to support it.
- onRangeError
noreturn onRangeError(string file, size_t line)
A callback for general array bounds errors in D. A RangeError will be thrown.
- onUnicodeError
noreturn onUnicodeError(string msg, size_t idx, string file, size_t line)
- onUnittestErrorMsg
void onUnittestErrorMsg(string file, size_t line, string msg)
A callback for unittest errors in D. The user-supplied unittest handler
will be called if one has been supplied, otherwise the error will be
written to stderr.
- staticError
T staticError(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
The exception module defines all system-level exceptions and provides a mechanism to alter system-level error handling.