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
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Reference for the ApiError class in the X API TypeScript SDK. Properties and methods for inspecting HTTP status, error codes, and X API error responses.
Error
↳ ApiError
message, status, statusText, headers, data?): ApiError
| Name | Type |
|---|---|
message | string |
status | number |
statusText | string |
headers | Headers |
data? | any |
ApiError