err

package
v0.0.0-...-1b9bdec Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// optional int32 lower_bound = 1200;
	E_LowerBound = &file_err_proto_extTypes[0]
	// optional int32 upper_bound = 1201;
	E_UpperBound = &file_err_proto_extTypes[1]
)

Extension fields to descriptorpb.EnumOptions.

View Source
var (
	// optional err.ErrDetail detail = 1244;
	E_Detail = &file_err_proto_extTypes[2]
)

Extension fields to descriptorpb.EnumValueOptions.

Functions

This section is empty.

Types

type ErrDetail

type ErrDetail struct {
	Status   *int32   `protobuf:"varint,1,opt,name=status,proto3,oneof" json:"status,omitempty"`
	Message  *string  `protobuf:"bytes,2,opt,name=message,proto3,oneof" json:"message,omitempty"`
	Polyglot []string `protobuf:"bytes,3,rep,name=polyglot,proto3" json:"polyglot,omitempty"`
	// contains filtered or unexported fields
}

func (*ErrDetail) Descriptor deprecated

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

Deprecated: Use ErrDetail.ProtoReflect.Descriptor instead.

func (*ErrDetail) GetMessage

func (x *ErrDetail) GetMessage() string

func (*ErrDetail) GetPolyglot

func (x *ErrDetail) GetPolyglot() []string

func (*ErrDetail) GetStatus

func (x *ErrDetail) GetStatus() int32

func (*ErrDetail) ProtoMessage

func (*ErrDetail) ProtoMessage()

func (*ErrDetail) ProtoReflect

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

func (*ErrDetail) Reset

func (x *ErrDetail) Reset()

func (*ErrDetail) String

func (x *ErrDetail) String() string

Jump to

Keyboard shortcuts

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