grpcerr

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthError        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowError          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupError = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type GrpcErr

type GrpcErr struct {
	Code                 int32    `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message              string   `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Detail               string   `protobuf:"bytes,3,opt,name=detail,proto3" json:"detail,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GrpcErr) Descriptor

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

func (*GrpcErr) GetCode

func (m *GrpcErr) GetCode() int32

func (*GrpcErr) GetDetail

func (m *GrpcErr) GetDetail() string

func (*GrpcErr) GetMessage

func (m *GrpcErr) GetMessage() string

func (*GrpcErr) Marshal

func (m *GrpcErr) Marshal() (dAtA []byte, err error)

func (*GrpcErr) MarshalTo

func (m *GrpcErr) MarshalTo(dAtA []byte) (int, error)

func (*GrpcErr) MarshalToSizedBuffer

func (m *GrpcErr) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GrpcErr) ProtoMessage

func (*GrpcErr) ProtoMessage()

func (*GrpcErr) Reset

func (m *GrpcErr) Reset()

func (*GrpcErr) Size

func (m *GrpcErr) Size() (n int)

func (*GrpcErr) String

func (m *GrpcErr) String() string

func (*GrpcErr) Unmarshal

func (m *GrpcErr) Unmarshal(dAtA []byte) error

func (*GrpcErr) XXX_DiscardUnknown

func (m *GrpcErr) XXX_DiscardUnknown()

func (*GrpcErr) XXX_Marshal

func (m *GrpcErr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GrpcErr) XXX_Merge

func (m *GrpcErr) XXX_Merge(src proto.Message)

func (*GrpcErr) XXX_Size

func (m *GrpcErr) XXX_Size() int

func (*GrpcErr) XXX_Unmarshal

func (m *GrpcErr) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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