Documentation
¶
Index ¶
- func CodeType(err error) code.Error
- func ErrorCode(err error) int32
- func New(code interface{}, msg string) error
- func Newf(code interface{}, format string, a ...interface{}) error
- func RegisterImplementor(prompter Prompter)
- func StreamServerInterceptor() grpc.StreamServerInterceptor
- func UnaryResponseInterceptor() grpc.UnaryServerInterceptor
- type Prompter
- type StatusError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterImplementor ¶
func RegisterImplementor(prompter Prompter)
Register service implementor.
func StreamServerInterceptor ¶
func StreamServerInterceptor() grpc.StreamServerInterceptor
func UnaryResponseInterceptor ¶
func UnaryResponseInterceptor() grpc.UnaryServerInterceptor
Types ¶
type StatusError ¶
func (*StatusError) Error ¶
func (err *StatusError) Error() string
Click to show internal directories.
Click to hide internal directories.