Class ServerError
Represents a server error (5xx HTTP status codes) from the API.
public class ServerError : HttpRequestException, ISerializable
- Inheritance
-
ServerError
- Implements
- Inherited Members
Constructors
ServerError(string)
public ServerError(string message)
Parameters
messagestring
ServerError(string, Exception)
public ServerError(string message, Exception innerException)
Parameters
ServerError(string, int, string?)
public ServerError(string message, int statusCode, string? status = null)
Parameters
ServerError(string, int, string?, Exception)
public ServerError(string message, int statusCode, string? status, Exception innerException)
Parameters
Properties
Status
public string? Status { get; }
Property Value
StatusCode
public int StatusCode { get; }