interface ExceptionLike {
    cause?: unknown;
    details?: { [key: string]: unknown };
    message: string;
    name: string;
    stack?: string;
    toAsyncErr(): ResultAsync<never, ExceptionLike>;
    toErr(): Result<never, ExceptionLike>;
    toString(): string;
}

Hierarchy (View Summary)

Implemented by

Properties

cause?: unknown
details?: { [key: string]: unknown }
message: string
name: string
stack?: string

Methods

  • Returns a string representation of an object.

    Returns string