Debian Codegraph @

codes/codes.proto

raw
1 syntax = "proto3";
2 package codes;
3
4 import "github.com/gogo/protobuf/gogoproto/gogo.proto";
5
6 enum Code {
7 option (gogoproto.goproto_enum_prefix) = false;
8
9 // OK is returned on success.
10 OK = 0 [(gogoproto.enumvalue_customname) = "OK"];
11
12 // Unknown error.
13 UNKNOWN = 1 [(gogoproto.enumvalue_customname) = "Unknown"];
14
15 // Unimplemented indicates operation is not implemented or not
16 // supported/enabled in this service.
17 UNIMPLEMETED = 2 [(gogoproto.enumvalue_customname) = "Unimplemented"];
18
19 // Internal errors. Means some invariants expected by underlying
20 // system has been broken. If you see one of these errors,
21 // something is very broken.
22 INTERNAL = 3 [(gogoproto.enumvalue_customname) = "Internal"];
23 }