Type alias Err<E>

Err<E>: {
    err: E;
    status: "err";
}

This type is suppossed to be used in the constructor of the Result class. It represents an error value

Type Parameters

  • E

    the type of the error

Type declaration

  • err: E
  • status: "err"

Generated using TypeDoc