Type definition for custom, non-throwable errors.

This is a useful type for the functional!Left of an functional!Either value.

interface CustomError {
    err: functional.Maybe<Error>;
    msg: string;
}

Properties

Properties

err: functional.Maybe<Error>
msg: string