Error thrown when an API call fails
Creates a new ApiError
Error message
Optional
Optional HTTP status code
Error thrown when an API call fails