• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1syntax = "proto2";
2package util.error;
3option optimize_for = LITE_RUNTIME;
4enum Code {
5  OK = 0;
6  CANCELLED = 1;
7  UNKNOWN = 2;
8  INVALID_ARGUMENT = 3;
9  DEADLINE_EXCEEDED = 4;
10  NOT_FOUND = 5;
11  ALREADY_EXISTS = 6;
12  PERMISSION_DENIED = 7;
13  UNAUTHENTICATED = 16;
14  RESOURCE_EXHAUSTED = 8;
15  FAILED_PRECONDITION = 9;
16  ABORTED = 10;
17  OUT_OF_RANGE = 11;
18  UNIMPLEMENTED = 12;
19  INTERNAL = 13;
20  UNAVAILABLE = 14;
21  DATA_LOSS = 15;
22  DO_NOT_USE_RESERVED_FOR_FUTURE_EXPANSION_USE_DEFAULT_IN_SWITCH_INSTEAD_ = 20;
23}
24