Versions in this module Expand all Collapse all v1 v1.0.0 Jan 26, 2019 Changes in this version + var Separator = ":\n\t" + func E(args ...interface{}) error + func Errorf(format string, args ...interface{}) error + func Is(kind Kind, err error) bool + func MarshalError(err error) []byte + func MarshalErrorAppend(err error, b []byte) []byte + func Match(err1, err2 error) bool + func RootCause(err error) error + func Str(text string) error + func Trap(values ...interface{}) error + func UnmarshalError(b []byte) error + func Wrapf(err error, msg string, args ...interface{}) error + type Error struct + Err error + Kind Kind + Op Op + func (e *Error) Error() string + func (e *Error) MarshalAppend(b []byte) []byte + func (e *Error) MarshalBinary() ([]byte, error) + func (e *Error) UnmarshalBinary(b []byte) error + type Kind uint8 + const Aborted + const Canceled + const DataLoss + const DeadlineExceeded + const Exist + const FailedPrecondition + const Internal + const Invalid + const NotExist + const Other + const OutOfRange + const Permission + const ResourceExhausted + const Unauthenticated + const Unavailable + const Unimplemented + func (k Kind) String() string + type Op string