Class HttpException
An exception thrown when a transport error occurs during authentication.
Implements
Namespace: Realms.Sync.Exceptions
Assembly: Realm.dll
Syntax
public class HttpException : Exception, ISerializable
Properties
| Improve this Doc View SourceErrorCode
Gets the ErrorCode of the error.
Declaration
public ErrorCode? ErrorCode { get; }
Property Value
Type | Description |
---|---|
Nullable<ErrorCode> | An enum value indicating the error code. |
Payload
Gets the body of the HTTP response.
Declaration
public string Payload { get; }
Property Value
Type | Description |
---|---|
String | The body of the HTTP response. |
ReasonPhrase
Gets the Reason-Phrase of the HTTP response.
Declaration
public string ReasonPhrase { get; }
Property Value
Type | Description |
---|---|
String | The Reason-Phrase of the HTTP response. |
StatusCode
Gets the HttpStatusCode of the response.
Declaration
public HttpStatusCode StatusCode { get; }
Property Value
Type | Description |
---|---|
HttpStatusCode | A well known HttpStatusCode. |