Unexpected

An exception that represents an error value.

This is used by Throw hook when undefined value or error is accessed on Expected

version(D_Exceptions)
class Unexpected : Exception(
T
) {}

Constructors

this
this(T value, string file, size_t line)

Constructs an Unexpected exception from an error value.

Members

Aliases

ET
alias ET = U
Undocumented in source.
ET
alias ET = T
Undocumented in source.

Variables

error
ET error;

error value

Meta