TextError.this

this(TextErrorCode code, const(char)[] detail = null) @safe pure nothrow @nogc

Builds an error with optional detail.

Parameters

codewhich failure happened.
detailbounded provider detail, truncated to 64 bytes; omitted for code-only errors.

Returns

The error value.