property FailureOptions.stackless

Skips stack capture. Only worth setting for failures produced in a hot loop and consumed immediately — the capture, not the allocation, is what a Failure costs. See the performance section of the docs before reaching for it.

Type

boolean

Usage

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