ae.utils.exception

Exception formatting

Members

Aliases

CaughtException
alias CaughtException = NoException

Allows toggling catch blocks with -debug=NO_CATCH. To use, catch CaughtException instead of Exception in catch blocks.

Classes

NoException
class NoException

This exception can never be thrown. Useful for a temporary or aliased catch block exception type.

Functions

exceptionContext
string exceptionContext(string messageExpr, string name = text(__LINE__))

Returns string mixin for adding a chained exception

Meta

Authors

Vladimir Panteleev <vladimir@thecybershadow.net>

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.