Class RestApiException
Inheritance
RestApiException
Assembly: Algenta.Colectica.Repository.Client.dll
Syntax
public class RestApiException : Exception, ISerializable, _Exception
Constructors
RestApiException(string, int, string, IReadOnlyDictionary<string, IEnumerable<string>>, Exception)
Declaration
public RestApiException(string message, int statusCode, string response, IReadOnlyDictionary<string, IEnumerable<string>> headers, Exception innerException)
Parameters
Properties
Declaration
public IReadOnlyDictionary<string, IEnumerable<string>> Headers { get; }
Property Value
Response
Declaration
public string Response { get; }
Property Value
StatusCode
Declaration
public int StatusCode { get; }
Property Value
Methods
ToString()
Creates and returns a string representation of the current exception.
Declaration
public override string ToString()
Returns
Type |
Description |
string |
A string representation of the current exception.
|
Overrides
Implements