property FailureFactory.code

The literal code this factory produces. Useful as a switch case and in registries.

Type

Usage

import { type FailureFactory } from "lib/result/failure.ts";