Unexpected

An exception that represents an error value.

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

@safe
class Unexpected : Exception(
T
) {}

Constructors

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

Constructs an Unexpected exception from an error value.

Members

Variables

error
T error;

error value

Meta