Categorygithub.com/golang-plus/errors
modulepackage
1.0.0
Repository: https://github.com/golang-plus/errors.git
Documentation: pkg.go.dev

# README

errors

package errors providers utilities for manipulate errors and provide stack trace information.

# Functions

Equal detects whether the error is equal to a given error.
New returns a new Error.
Newf same as New, but with fmt.Printf-style parameters.
TreeMessage returns the errors message in a tree like format: ├─ error message -> filename:line | ├─ error message -> filename:line | └─ error 3.
Wrap returns a new wrapped Error.
Wrapf same as Wrap, but with fmt.Printf-style parameters.