Class.KeybanError
Extends
Error
Extended by
Type Parameters
| Type Parameter | Default type |
|---|---|
T extends string | string |
Constructors
Constructor
new KeybanError<T>(message?: string, options?: ErrorOptions & {
code?: T;
}): KeybanError<T>;
Parameters
| Parameter | Type |
|---|---|
message? | string |
options? | ErrorOptions & { code?: T; } |
Returns
KeybanError<T>
Overrides
Error.constructor
Properties
| Property | Type | Default value | Overrides |
|---|---|---|---|
code? | T | undefined | - |
name | string | "KeybanError" | Error.name |