ProtoOAErrorRes
* Generic response when an ERROR occurred.
Implements: IMessage<ProtoOAErrorRes>, IMessage, IEquatable<ProtoOAErrorRes>, IDeepCloneable<ProtoOAErrorRes>, IBufferMessage
Properties
CtidTraderAccountId : long
The unique identifier of the trader's account in cTrader platform.
Description : string
The error description.
ErrorCode : string
The name of the ProtoErrorCode or the other custom ErrorCodes (e.g. ProtoCHErrorCode).
HasCtidTraderAccountId : bool
Gets whether the "ctidTraderAccountId" field is set
HasDescription : bool
Gets whether the "description" field is set
HasErrorCode : bool
Gets whether the "errorCode" field is set
HasMaintenanceEndTimestamp : bool
Gets whether the "maintenanceEndTimestamp" field is set
HasPayloadType : bool
Gets whether the "payloadType" field is set
HasRetryAfter : bool
Gets whether the "retryAfter" field is set
MaintenanceEndTimestamp : long
The Unix time in seconds when the current maintenance session will be ended.
RetryAfter : ulong
When you hit rate limit with errorCode=BLOCKED_PAYLOAD_TYPE, this field will contain amount of seconds until related payload type will be unlocked.
Methods
ClearCtidTraderAccountId()
Clears the value of the "ctidTraderAccountId" field
ClearDescription()
Clears the value of the "description" field
ClearErrorCode()
Clears the value of the "errorCode" field
ClearMaintenanceEndTimestamp()
Clears the value of the "maintenanceEndTimestamp" field
ClearPayloadType()
Clears the value of the "payloadType" field
ClearRetryAfter()
Clears the value of the "retryAfter" field
Fields
CtidTraderAccountIdFieldNumber : int
Field number for the "ctidTraderAccountId" field.
DescriptionFieldNumber : int
Field number for the "description" field.
ErrorCodeFieldNumber : int
Field number for the "errorCode" field.
MaintenanceEndTimestampFieldNumber : int
Field number for the "maintenanceEndTimestamp" field.
PayloadTypeFieldNumber : int
Field number for the "payloadType" field.
RetryAfterFieldNumber : int
Field number for the "retryAfter" field.