alid.errornogc

Implements a mixin template that allows throwing Errors from @nogc code.

Members

Mixin templates

NogcError
mixintemplate NogcError(string tag, size_t maxDataSize = 1024)

Mixes in the definition of a subclass of Error as well as a convenience function (e.g. myError()) to throw the single thread-local instance of that class.

Meta