API Error class for handling X API errorsDocumentation Index
Fetch the complete documentation index at: https://docs.x.com/llms.txt
Use this file to discover all available pages before exploring further.
Hierarchy
-
Error↳ApiError
Constructors
constructor
• new ApiError(message, status, statusText, headers, data?): ApiError
Parameters
| Name | Type |
|---|---|
message | string |
status | number |
statusText | string |
headers | Headers |
data? | any |
Returns
ApiError