Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GRPCErrorf ¶
GRPCErrorf creates error containing pair errors: grpc.Status with given code and message, and underlying error.
func ToGRPCError ¶
ToGRPCError separates grpc.Error and underlying error.
Types ¶
type GRPCWrapError ¶
type GRPCWrapError struct {
// contains filtered or unexported fields
}
func (*GRPCWrapError) Error ¶
func (e *GRPCWrapError) Error() string
func (*GRPCWrapError) Status ¶
func (e *GRPCWrapError) Status() *status.Status
func (*GRPCWrapError) Unwrap ¶
func (e *GRPCWrapError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.