Documentation
¶
Index ¶
- Constants
- func Errorf(format string, args ...interface{}) error
- func ErrorfWithStack(format string, args ...interface{}) error
- func ExtractKerrorFromGRPC(err error) error
- func MarshalKerror(err error) string
- func New(msg string) error
- func NewCodeKerror(msg string, code, httpcode int, grpccode uint32) error
- func NewCodeKerrorWithStack(msg string, code, httpcode int, grpccode uint32) error
- func NewWithStack(msg string) error
- func SetErrorMarshalType(mte int)
- func UnmarshalKerror(data []byte) error
- type Frame
- type Kerror
Constants ¶
View Source
const ( UseGobMarshaler = 1 UseJsonMarshaler = 2 )
Variables ¶
This section is empty.
Functions ¶
func ErrorfWithStack ¶
func ExtractKerrorFromGRPC ¶
func MarshalKerror ¶
func NewCodeKerrorWithStack ¶
func NewWithStack ¶
func SetErrorMarshalType ¶
func SetErrorMarshalType(mte int)
func UnmarshalKerror ¶
Types ¶
type Kerror ¶
type Kerror struct {
// contains filtered or unexported fields
}
func (*Kerror) GRPCStatus ¶
Click to show internal directories.
Click to hide internal directories.