github.com/epsagon/epsagon-go@v1.39.0/protocol/error_code.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: error_code.proto 3 4 package protocol 5 6 import ( 7 fmt "fmt" 8 proto "github.com/golang/protobuf/proto" 9 math "math" 10 ) 11 12 // Reference imports to suppress errors if they are not otherwise used. 13 var _ = proto.Marshal 14 var _ = fmt.Errorf 15 var _ = math.Inf 16 17 // This is a compile-time assertion to ensure that this generated file 18 // is compatible with the proto package it is being compiled against. 19 // A compilation error at this line likely means your copy of the 20 // proto package needs to be updated. 21 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package 22 23 type ErrorCode int32 24 25 const ( 26 ErrorCode_OK ErrorCode = 0 27 ErrorCode_ERROR ErrorCode = 1 28 ErrorCode_EXCEPTION ErrorCode = 2 29 ) 30 31 var ErrorCode_name = map[int32]string{ 32 0: "OK", 33 1: "ERROR", 34 2: "EXCEPTION", 35 } 36 37 var ErrorCode_value = map[string]int32{ 38 "OK": 0, 39 "ERROR": 1, 40 "EXCEPTION": 2, 41 } 42 43 func (x ErrorCode) String() string { 44 return proto.EnumName(ErrorCode_name, int32(x)) 45 } 46 47 func (ErrorCode) EnumDescriptor() ([]byte, []int) { 48 return fileDescriptor_c5513ac0a8e17e40, []int{0} 49 } 50 51 func init() { 52 proto.RegisterEnum("protocol.ErrorCode", ErrorCode_name, ErrorCode_value) 53 } 54 55 func init() { proto.RegisterFile("error_code.proto", fileDescriptor_c5513ac0a8e17e40) } 56 57 var fileDescriptor_c5513ac0a8e17e40 = []byte{ 58 // 99 bytes of a gzipped FileDescriptorProto 59 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x48, 0x2d, 0x2a, 0xca, 60 0x2f, 0x8a, 0x4f, 0xce, 0x4f, 0x49, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x00, 0x53, 61 0xc9, 0xf9, 0x39, 0x5a, 0xba, 0x5c, 0x9c, 0xae, 0x20, 0x59, 0xe7, 0xfc, 0x94, 0x54, 0x21, 0x36, 62 0x2e, 0x26, 0x7f, 0x6f, 0x01, 0x06, 0x21, 0x4e, 0x2e, 0x56, 0xd7, 0xa0, 0x20, 0xff, 0x20, 0x01, 63 0x46, 0x21, 0x5e, 0x2e, 0x4e, 0xd7, 0x08, 0x67, 0xd7, 0x80, 0x10, 0x4f, 0x7f, 0x3f, 0x01, 0xa6, 64 0x24, 0x36, 0xb0, 0x46, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0xec, 0xf2, 0x6c, 0x0e, 0x53, 65 0x00, 0x00, 0x00, 66 }