Represents the options for the Basalt error.

interface BasaltErrorOptions<T = unknown> {
    cause?: T;
    key?: [string, number];
}

Type Parameters

  • T = unknown

Properties

Properties

cause?: T

The cause of the error.

key?: [string, number]

The error key.