method BaseError.prototype.getContext
BaseError.prototype.getContext(): Record<string, unknown>

Get the current context object.

Return Type

Record<string, unknown>

The context object

Usage

import { BaseError } from "result/mod.ts";