errscope

package
v0.62.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package errscope owns the single-scope rule Core's outcome classifiers share. Transparent wrapping keeps one scope, so its cause may still speak for the enclosing call. A join of independent errors has no single cause that may speak for it, so the search stops there instead of letting either child decide the outcome, as errors.As would.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Find

func Find[T error](err error) (T, bool)

Find returns the first T in err's single-scope chain.

Types

This section is empty.

Jump to

Keyboard shortcuts

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