moerr

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthMoerr        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMoerr          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMoerr = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type Error

type Error struct {
	Code                 uint16   `protobuf:"varint,1,opt,name=code,proto3,casttype=uint16" json:"code,omitempty"`
	MysqlCode            uint16   `protobuf:"varint,2,opt,name=mysql_code,json=mysqlCode,proto3,casttype=uint16" json:"mysql_code,omitempty"`
	Message              string   `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	SqlState             string   `protobuf:"bytes,4,opt,name=sql_state,json=sqlState,proto3" json:"sql_state,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Error) Descriptor

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

func (*Error) GetCode

func (m *Error) GetCode() uint16

func (*Error) GetMessage

func (m *Error) GetMessage() string

func (*Error) GetMysqlCode

func (m *Error) GetMysqlCode() uint16

func (*Error) GetSqlState

func (m *Error) GetSqlState() string

func (*Error) Marshal

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

func (*Error) MarshalTo

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

func (*Error) MarshalToSizedBuffer

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

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) ProtoSize

func (m *Error) ProtoSize() (n int)

func (*Error) Reset

func (m *Error) Reset()

func (*Error) String

func (m *Error) String() string

func (*Error) Unmarshal

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

func (*Error) XXX_DiscardUnknown

func (m *Error) XXX_DiscardUnknown()

func (*Error) XXX_Marshal

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

func (*Error) XXX_Merge

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

func (*Error) XXX_Size

func (m *Error) XXX_Size() int

func (*Error) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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