Interface ErrorObject

interface ErrorObject {
    cause?: Error;
    code?: ErrorCode;
    data?: any;
    emitter?: ErrorEmitter;
    message: string;
    type: ErrorType;
}

Properties

cause?: Error
code?: ErrorCode
data?: any
emitter?: ErrorEmitter
message: string
type: ErrorType