errors

package
v0.0.0-...-ebb4f00 Latest Latest
Warning

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

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

Documentation

Overview

Package errors provides the ability to wrap multiple errors while maintaining API compatibility with the standard package. This functionality is a drop-in replacement from go1.20. Remove this package once the SDK is updated to g1.20.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Is

func Is(err, target error) bool

Is delegates to the standard package.

func Join

func Join(errs ...error) error

Join wraps the specified errors into one error that prints the entire list using newline as the delimiter.

func New

func New(text string) error

New delegates to the standard package.

Types

This section is empty.

Jump to

Keyboard shortcuts

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