Interface ErrorDetailOptions<T>

Options for initializing an error with detail.

interface ErrorDetailOptions {
    cause?: unknown;
    detail?: T;
}

Type Parameters

  • T

Hierarchy

Properties

Properties

cause?: unknown
detail?: T

Error details.

Generated using TypeDoc