Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IgnoreCanceled ¶
IgnoreCanceled returns nil, when the operation was about canceling.
func IsCanceled ¶ added in v0.15.0
IsCanceled returns true, when the error is a cancellation.
Types ¶
type CodeMap ¶ added in v0.25.2
type CodeMap map[*errs.Class]rpcstatus.StatusCode
CodeMap is used to apply the correct rpc status code to error classes.
type Group ¶ added in v0.10.2
type Group struct {
// contains filtered or unexported fields
}
Group is a collection of goroutines working on subtasks that are part of the same overall task.
type LoggingSanitizer ¶ added in v0.25.2
type LoggingSanitizer struct {
// contains filtered or unexported fields
}
LoggingSanitizer consolidates logging of original errors with sanitization of internal errors.
func NewLoggingSanitizer ¶ added in v0.25.2
NewLoggingSanitizer creates a new LoggingSanitizer.
Click to show internal directories.
Click to hide internal directories.