error_

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2025 License: MIT Imports: 1 Imported by: 1

Documentation

Overview

Package error_ provides generic functions for error handling.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func As

func As[E error](err error) (out E, ok bool)

As finds the first error in err's tree that matches E type and retunrs the one and ok==true. If nothing to found it will return ok==false.

Types

This section is empty.

Jump to

Keyboard shortcuts

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