ProtoErrorRes
* Error response that is sent from Open API proxy when error occurs.
Implements: IMessage<ProtoErrorRes>, IMessage, IEquatable<ProtoErrorRes>, IDeepCloneable<ProtoErrorRes>, IBufferMessage
Properties
public string Description { get; set; }
value = protoErrorRes.Description
protoErrorRes.Description = value
Error description.
public string ErrorCode { get; set; }
value = protoErrorRes.ErrorCode
protoErrorRes.ErrorCode = value
Contains name of ProtoErrorCode or other custom ErrorCodes (e.g. ProtoCHErrorCode).
public bool HasDescription { get; }
value = protoErrorRes.HasDescription
Gets whether the "description" field is set
public bool HasErrorCode { get; }
value = protoErrorRes.HasErrorCode
Gets whether the "errorCode" field is set
public bool HasMaintenanceEndTimestamp { get; }
value = protoErrorRes.HasMaintenanceEndTimestamp
Gets whether the "maintenanceEndTimestamp" field is set
public bool HasPayloadType { get; }
value = protoErrorRes.HasPayloadType
Gets whether the "payloadType" field is set
public ulong MaintenanceEndTimestamp { get; set; }
value = protoErrorRes.MaintenanceEndTimestamp
protoErrorRes.MaintenanceEndTimestamp = value
The Unix time in milliseconds of the end of the maintenance.
Methods
public void ClearDescription()
protoErrorRes.ClearDescription()
Clears the value of the "description" field
public void ClearErrorCode()
protoErrorRes.ClearErrorCode()
Clears the value of the "errorCode" field
public void ClearMaintenanceEndTimestamp()
protoErrorRes.ClearMaintenanceEndTimestamp()
Clears the value of the "maintenanceEndTimestamp" field
public void ClearPayloadType()
protoErrorRes.ClearPayloadType()
Clears the value of the "payloadType" field
Fields
public const int DescriptionFieldNumber
value = ProtoErrorRes.DescriptionFieldNumber
Field number for the "description" field.
public const int ErrorCodeFieldNumber
value = ProtoErrorRes.ErrorCodeFieldNumber
Field number for the "errorCode" field.
public const int MaintenanceEndTimestampFieldNumber
value = ProtoErrorRes.MaintenanceEndTimestampFieldNumber
Field number for the "maintenanceEndTimestamp" field.
public const int PayloadTypeFieldNumber
value = ProtoErrorRes.PayloadTypeFieldNumber
Field number for the "payloadType" field.