Creates a new ApiException with the given status and content.
The status code of the API response.
The content message of the API response.