errorx_proto

package
v0.2.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_error_x_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ErrorX

type ErrorX struct {
	Message string            `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Code    string            `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	Type    int32             `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`
	Trace   string            `protobuf:"bytes,4,opt,name=trace,proto3" json:"trace,omitempty"`
	Fields  map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ErrorX) Descriptor deprecated

func (*ErrorX) Descriptor() ([]byte, []int)

Deprecated: Use ErrorX.ProtoReflect.Descriptor instead.

func (*ErrorX) GetCode

func (x *ErrorX) GetCode() string

func (*ErrorX) GetFields

func (x *ErrorX) GetFields() map[string]string

func (*ErrorX) GetMessage

func (x *ErrorX) GetMessage() string

func (*ErrorX) GetTrace

func (x *ErrorX) GetTrace() string

func (*ErrorX) GetType

func (x *ErrorX) GetType() int32

func (*ErrorX) ProtoMessage

func (*ErrorX) ProtoMessage()

func (*ErrorX) ProtoReflect

func (x *ErrorX) ProtoReflect() protoreflect.Message

func (*ErrorX) Reset

func (x *ErrorX) Reset()

func (*ErrorX) String

func (x *ErrorX) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL