ApiException constructor
Initializes a new instance of the ApiException class.
public ApiException(string message, int statusCode, string response,
IReadOnlyDictionary<string, IEnumerable<string>> headers, TResult result,
Exception innerException)
| parameter | description |
|---|---|
| message | The error message. |
| statusCode | The HTTP status code from the failed response. |
| response | The response body from the failed request. |
| headers | The response headers from the failed request. |
| result | The deserialized error response body. |
| innerException | The exception that caused this exception. |
See Also
- class ApiException<TResult>
- namespace Autodesk.DataExchange.Exceptions