Versions in this module Expand all Collapse all v1 v1.0.1 Dec 2, 2020 Changes in this version + const PriorityAborted + const PriorityAlreadyExists + const PriorityCanceled + const PriorityDataLoss + const PriorityDeadlineExceeded + const PriorityFailedPrecondition + const PriorityInternal + const PriorityInvalidArgument + const PriorityNotFound + const PriorityOK + const PriorityOutOfRange + const PriorityPermissionDenied + const PriorityResourceExhausted + const PriorityUnauthenticated + const PriorityUnavailable + const PriorityUnimplemented + const PriorityUnknown + var LogErrStacks bool + func Aggregate(errors []error) error + func Cause(err error) error + func Code(err error) vtrpcpb.Code + func CodeToLegacyErrorCode(code vtrpcpb.Code) vtrpcpb.LegacyErrorCode + func Equals(a, b error) bool + func Errorf(code vtrpcpb.Code, format string, args ...interface{}) error + func FromGRPC(err error) error + func FromVTRPC(rpcErr *vtrpcpb.RPCError) error + func LegacyErrorCodeToCode(code vtrpcpb.LegacyErrorCode) vtrpcpb.Code + func New(code vtrpcpb.Code, message string) error + func NewWithoutCode(message string) error + func Print(err error) string + func RootCause(err error) error + func ToGRPC(err error) error + func ToVTRPC(err error) *vtrpcpb.RPCError + func Wrap(err error, message string) error + func Wrapf(err error, format string, args ...interface{}) error + type Frame uintptr + func (f Frame) Format(s fmt.State, verb rune) + type StackTrace []Frame + func (st StackTrace) Format(s fmt.State, verb rune)