StatusCode.msg¶
Overview¶
StatusCode.msg defines status code constants equivalent to the gRPC API status codes. These constants are used with StatusResponse.msg to report the outcome of service calls in a way that is compatible with the Cartographer gRPC interface.
Constants¶
Constant |
Value |
Meaning |
|---|---|---|
|
|
The call succeeded. |
|
|
The call was cancelled. |
|
|
An unknown error occurred. |
|
|
A client-supplied argument was invalid. |
|
|
The call exceeded its deadline. |
|
|
The requested entity was not found. |
|
|
An entity that should not exist was found. |
|
|
The caller lacks permission. |
|
|
A resource quota was exceeded. |
|
|
The system was not in the required state. |
|
|
The operation was aborted. |
|
|
An argument was out of range. |
|
|
The operation is not implemented. |
|
|
An internal error occurred. |
|
|
The service is currently unavailable. |
|
|
Unrecoverable data loss occurred. |
Usage¶
The constants mirror the gRPC API status codes documented at the Google Maps Booking gRPC reference.
StatusResponse.codeholds one of these values to indicate the outcome of a service call.