Documentation
¶
Overview ¶
Package errctx provides implementations of context.Context that allow for cancellation or deadline expiration with custom error messages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithCancel ¶
WithCancel returns a child context with a cancellation function that accepts custom errors.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.