StatusCode.msg 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. # Copyright 2018 The Cartographer Authors
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. # Definition of status code constants equivalent to the gRPC API.
  15. # https://developers.google.com/maps-booking/reference/grpc-api/status_codes
  16. uint8 OK=0
  17. uint8 CANCELLED=1
  18. uint8 UNKNOWN=2
  19. uint8 INVALID_ARGUMENT=3
  20. uint8 DEADLINE_EXCEEDED=4
  21. uint8 NOT_FOUND=5
  22. uint8 ALREADY_EXISTS=6
  23. uint8 PERMISSION_DENIED=7
  24. uint8 RESOURCE_EXHAUSTED=8
  25. uint8 FAILED_PRECONDITION=9
  26. uint8 ABORTED=10
  27. uint8 OUT_OF_RANGE=11
  28. uint8 UNIMPLEMENTED=12
  29. uint8 INTERNAL=13
  30. uint8 UNAVAILABLE=14
  31. uint8 DATA_LOSS=15