Open API Common Model Messages .proto file
ProtoPayloadType
The unique identifier of the request, response, or event command.
Name | Number | Description |
---|---|---|
PROTO_MESSAGE | 5 | The message. |
ERROR_RES | 50 | The Error response. |
HEARTBEAT_EVENT | 51 | The Heartbeat event. |
ProtoErrorCode
The error explanations.
Name | Number | Description |
---|---|---|
UNKNOWN_ERROR | 1 | Generic error. |
UNSUPPORTED_MESSAGE | 2 | Message is not supported. Wrong message. |
INVALID_REQUEST | 3 | Generic error. Usually used when the input value is not correct. |
TIMEOUT_ERROR | 5 | Deal execution has reached a timeout and rejected. |
ENTITY_NOT_FOUND | 6 | Generic error for requests by id. |
CANT_ROUTE_REQUEST | 7 | Connection to Server is lost or not supported. |
FRAME_TOO_LONG | 8 | The message is too large. |
MARKET_CLOSED | 9 | The market is closed. |
CONCURRENT_MODIFICATION | 10 | The Order is blocked (e.g. under execution) and change cannot be applied. |
BLOCKED_PAYLOAD_TYPE | 11 | The message is blocked by the server. |