property Failure.SerializedFailure.code

The discriminant. Survives the wire, unlike a prototype.

Type

string

Usage

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