Documentation ¶
Index ¶
- type ErrCode
- func (x ErrCode) ErrRep() *ErrRep
- func (x ErrCode) Error() string
- func (x ErrCode) GRPCStatus() *status.Status
- func (x ErrCode) Log(err error) *ErrRep
- func (x ErrCode) MarshalJSON() ([]byte, error)
- func (x ErrCode) Message(msg string) *ErrRep
- func (x ErrCode) Response(w http.ResponseWriter)
- func (x ErrCode) String() string
- func (x ErrCode) Warp(err error) *ErrRep
- type ErrRep
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrCode ¶
type ErrCode uint32
func (ErrCode) MarshalJSON ¶
func (ErrCode) Response ¶
func (x ErrCode) Response(w http.ResponseWriter)
type ErrRep ¶
func (*ErrRep) GRPCStatus ¶
func (*ErrRep) MarshalJSON ¶
func (*ErrRep) Response ¶
func (x *ErrRep) Response(w http.ResponseWriter)
Click to show internal directories.
Click to hide internal directories.