new APIError(message)
Base class for API-related errors. Thrown when there is a general API error that doesn't fit other categories.
Parameters:
| Name | Type | Description |
|---|---|---|
message |
string | Error message describing what went wrong |
- Source:
Extends
- Error