Documentation ¶
Index ¶
- Variables
- func E(args ...interface{}) error
- func WrapErr(err error, msg string) error
- type Error
- func (*Error) Descriptor() ([]byte, []int)deprecated
- func (e *Error) Error() string
- func (x *Error) GetCode() int32
- func (x *Error) GetDetails() []string
- func (x *Error) GetMessage() string
- func (x *Error) GetNestedErrors() map[string]string
- func (*Error) ProtoMessage()
- func (x *Error) ProtoReflect() protoreflect.Message
- func (x *Error) Reset()
- func (x *Error) String() string
- type IError
Constants ¶
This section is empty.
Variables ¶
View Source
var File_proto_error_error_proto protoreflect.FileDescriptor
Functions ¶
Types ¶
type Error ¶
type Error struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Code int32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"` NestedErrors map[string]string `` /* 185-byte string literal not displayed */ Details []string `protobuf:"bytes,4,rep,name=details,proto3" json:"details,omitempty"` // contains filtered or unexported fields }
func (*Error) Descriptor
deprecated
func (*Error) GetDetails ¶
func (*Error) GetMessage ¶
func (*Error) GetNestedErrors ¶
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.