property Failure.Failure.prototype.code

The discriminant. Narrow on this, never on instanceof.

Type

Usage

import { Failure } from "lib/result/index.ts";