Home | History | Annotate | Download | only in proto
      1 syntax = "proto2";
      2 package util.error;
      3 option optimize_for = LITE_RUNTIME;
      4 enum 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