error.proto¶
Error¶
Field |
Type |
Label |
Description |
---|---|---|---|
code |
|||
message |
|||
additional_info |
(optional) present in case of not_found or out_of_stock |
Error.AdditionalInfo¶
Field |
Type |
Label |
Description |
---|---|---|---|
object_id |
ErrorCodes¶
Name |
Number |
Description |
---|---|---|
ERROR_CODES_UNSPECIFIED |
0 |
|
ERROR_CODES_NOT_FOUND |
1 |
|
ERROR_CODES_INVALID |
2 |
|
ERROR_CODES_NOT_AUTHENTICATED |
3 |
|
ERROR_CODES_ALREADY_AUTHENTICATED |
4 |
|
ERROR_CODES_ALREADY_CONNECTED |
5 |
|
ERROR_CODES_TOO_MANY_CONCURRENT_REQUESTS |
6 |
|
ERROR_CODES_UNLINKED_KEYCARD |
7 |
|
ERROR_CODES_MINIMUM_VERSION_NOT_REACHED |
8 |
|
ERROR_CODES_OUT_OF_STOCK |
9 |
|
ERROR_CODES_SIMULATED |
10 |
used to signal random, simulated errors |
ERROR_CODES_CLOSE_SUBSCRIPTION |
11 |
used to cleanly stop sending events from the relay to the client |