Expected.this

Constructs an Expected object that contains an error value.

  1. this(T value)
  2. this(E err)
    struct Expected(T, E = Exception)
    this
    (
    E err
    )
    if (
    !is(T == E) &&
    !is(T == void)
    )

Meta