Class RequestFailedException
Thrown when an api request is denied. Check the StatusCode and ResponseContent properties for information returned by the api.
Inheritance
System.Object
RequestFailedException
Namespace: FFT.Oanda
Assembly: FFT.Oanda.dll
Syntax
public sealed class RequestFailedException : Exception
Properties
| Improve this Doc View SourceResponseContent
The deserialized json content of the reponse that denied the request.
Declaration
public string ResponseContent { get; }
Property Value
Type | Description |
---|---|
System.String |
StatusCode
The status code contained in the response that denied the request.
Declaration
public HttpStatusCode StatusCode { get; }
Property Value
Type | Description |
---|---|
HttpStatusCode |