Skip to main content

Class.KeybanError

Extends

  • Error

Extended by

Type Parameters

Type ParameterDefault type
T extends stringstring

Constructors

Constructor

new KeybanError<T>(message?: string, options?: ErrorOptions & {
code?: T;
}): KeybanError<T>;

Parameters

ParameterType
message?string
options?ErrorOptions & { code?: T; }

Returns

KeybanError<T>

Overrides

Error.constructor

Properties

PropertyTypeOverrides
code?T-
namestringError.name