Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handle ¶
func Handle(action middleware.Action) middleware.Action
Handle handles an action error, ignoring and logging pipe skipped errors.
Types ¶
type Memo ¶ added in v1.14.1
type Memo struct {
// contains filtered or unexported fields
}
Memo is a handler that memorizes errors, so you can grab them all in the end instead of returning each of them.
func (*Memo) Wrap ¶ added in v1.14.1
func (m *Memo) Wrap(action middleware.Action) middleware.Action
Wrap the given action, memorizing its errors. The resulting action will always return a nil error.
Click to show internal directories.
Click to hide internal directories.