Constructor
new StitchError(message, code) → {StitchError}
Parameters:
| Name | Type | Description |
|---|---|---|
message |
String | The error message. |
code |
Object | The error code. |
Returns:
A StitchError instance.
- Type
- StitchError
Extends
- Error