errors

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: MIT Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func As added in v0.18.0

func As(err error, target interface{}) bool

func Is added in v0.18.0

func Is(err, target error) bool

func Merge added in v0.18.0

func Merge(outer, inner error) error

Merge two errors

func Unwrap

func Unwrap(err error) error

Types

type Error

type Error string

func (Error) Error

func (e Error) Error() string

Error prints the error's message

Jump to

Keyboard shortcuts

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