Categorygithub.com/gdey/errors
modulepackage
0.0.0-20190426172550-8ebd5bc891fb
Repository: https://github.com/gdey/errors.git
Documentation: pkg.go.dev

# README

errors

A small error library that augments the errors library in go standard library.

# Functions

Root will walk the error graph returning the top Most error and count.
Walk each error in the list of error calling fn.
Wrap wraps the error with the given description and returns a new Err object.
Wrapf wraps the error with the given description and returns a new Err object.

# Constants

Canceled is used as a sentinel error to allow things to state that the operation was cancelled.
NilObject is used as a sentinel error to allow things to state that the receiver object of the method is nil.

# Interfaces

No description provided by the author

# Type aliases

String is an error type that can be a constant.