Documentation
¶
Index ¶
- func CallWithTimeoutContext[TR any](ctx context.Context, timeout time.Duration, ...) (TR, error)
- func CallWithTimeoutContextErr(ctx context.Context, timeout time.Duration, fn func(context.Context) error) error
- func CatchCommonErr(err error) error
- func IsCommonNetReadError(err error) bool
- func TryWrapOpErr(op specs.OpName, err error) error
- type ResultErrPair
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallWithTimeoutContext ¶
func CatchCommonErr ¶
func IsCommonNetReadError ¶
Types ¶
type ResultErrPair ¶
Click to show internal directories.
Click to hide internal directories.