Interface TwingBaseError<Name>

interface TwingBaseError<Name> {
    location: TwingErrorLocation;
    message: string;
    name: Name;
    previous: any;
    rootMessage: string;
    source: TwingSource;
    stack?: string;
    appendMessage(message: string): void;
}

Type Parameters

  • Name extends string

Hierarchy (view full)

Properties

message: string
name: Name
previous: any
rootMessage: string
source: TwingSource
stack?: string

Methods