errors

package
v2.0.0-...-7abe87e Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2022 License: Apache-2.0, MIT Imports: 4 Imported by: 0

Documentation

Overview

errors is improved errors package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Append

func Append(err error, errs ...error) error

Append appends multiple errors to the error.

func Errorf

func Errorf(format string, a ...interface{}) error

Errorf formats according to a format specifier and returns the string as a value that satisfies error.

func Merge

func Merge(errs ...error) error

Merge merges multiple errors.

func New

func New(text string) error

New returns an error that formats as the given text.

Types

This section is empty.

Jump to

Keyboard shortcuts

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