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 | Overrides |
|---|---|---|
code? | T | - |
name | string | Error.name |