Constructor
# new HankoError(code, causeopt)
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
code |
string
|
An error code that refers to the error instance. | |
cause |
Error
|
<optional> |
The original error |
Extends
- Error