errors

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func As

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

func Combine

func Combine(errs ...error) error

func Is

func Is(err, target error) bool

func New

func New(msg string) error

func Unwrap

func Unwrap(err error) error

Types

type Builder

type Builder []error

func (Builder) Build

func (b Builder) Build() error

func (*Builder) WithError

func (b *Builder) WithError(err error)

Jump to

Keyboard shortcuts

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