Documentation
      ¶
    
    
  
    
  
    Index ¶
- Variables
 - type Error
 - func (*Error) Descriptor() ([]byte, []int)
 - func (m *Error) GetCode() uint16
 - func (m *Error) GetMessage() string
 - func (m *Error) GetMysqlCode() uint16
 - func (m *Error) GetSqlState() string
 - func (m *Error) Marshal() (dAtA []byte, err error)
 - func (m *Error) MarshalTo(dAtA []byte) (int, error)
 - func (m *Error) MarshalToSizedBuffer(dAtA []byte) (int, error)
 - func (*Error) ProtoMessage()
 - func (m *Error) ProtoSize() (n int)
 - func (m *Error) Reset()
 - func (m *Error) String() string
 - func (m *Error) Unmarshal(dAtA []byte) error
 - func (m *Error) XXX_DiscardUnknown()
 - func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
 - func (m *Error) XXX_Merge(src proto.Message)
 - func (m *Error) XXX_Size() int
 - func (m *Error) XXX_Unmarshal(b []byte) error
 
Constants ¶
This section is empty.
Variables ¶
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) GetMessage ¶
func (*Error) GetMysqlCode ¶
func (*Error) GetSqlState ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) XXX_DiscardUnknown ¶
func (m *Error) XXX_DiscardUnknown()
func (*Error) XXX_Marshal ¶
func (*Error) XXX_Unmarshal ¶
 Click to show internal directories. 
   Click to hide internal directories.