Documentation ¶
Index ¶
- Variables
- type Error
- func (*Error) Descriptor() ([]byte, []int)deprecated
- func (x *Error) GetArguments() *structpb.Struct
- func (x *Error) GetCauses() []*Error
- func (x *Error) GetCode() string
- func (x *Error) GetDomain() string
- func (x *Error) GetGrpcCode() uint64
- func (x *Error) GetHttpCode() int64
- func (x *Error) GetInternalMessage() string
- func (x *Error) GetNamespace() string
- func (x *Error) GetPublicMessage() string
- func (x *Error) GetUid() string
- func (*Error) ProtoMessage()
- func (x *Error) ProtoReflect() protoreflect.Message
- func (x *Error) Reset()
- func (x *Error) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_zeproto_v1_error_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct { Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` Code string `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"` HttpCode int64 `protobuf:"varint,5,opt,name=http_code,json=httpCode,proto3" json:"http_code,omitempty"` GrpcCode uint64 `protobuf:"varint,6,opt,name=grpc_code,json=grpcCode,proto3" json:"grpc_code,omitempty"` PublicMessage string `protobuf:"bytes,7,opt,name=public_message,json=publicMessage,proto3" json:"public_message,omitempty"` InternalMessage string `protobuf:"bytes,8,opt,name=internal_message,json=internalMessage,proto3" json:"internal_message,omitempty"` Arguments *structpb.Struct `protobuf:"bytes,9,opt,name=arguments,proto3" json:"arguments,omitempty"` Causes []*Error `protobuf:"bytes,10,rep,name=causes,proto3" json:"causes,omitempty"` // contains filtered or unexported fields }
func (*Error) Descriptor
deprecated
func (*Error) GetArguments ¶
func (*Error) GetGrpcCode ¶
func (*Error) GetHttpCode ¶
func (*Error) GetInternalMessage ¶
func (*Error) GetNamespace ¶
func (*Error) GetPublicMessage ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.