ctxerr

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package ctxerr classifies context termination without hiding joined failures.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsTermination

func IsTermination(ctx context.Context, err error) bool

IsTermination reports whether every cause in err matches ctx's termination. An active context, nil error, or any unrelated joined cause returns false.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL