package
8.5.9+incompatible
Repository: https://github.com/snowlyg/iris.git
Documentation: pkg.go.dev

# Functions

New creates and returns an Error with a pre-defined user output message all methods below that doesn't accept a pointer receiver because actually they are not changing the original message.
NewFromErr same as `New` but pointer for nil checks without the need of the `Return()` function.
NewReporter returns a new empty error reporter.
PrintAndReturnErrors prints the "err" to the given "printer", printer will be called multiple times if the "err" is a StackError, where it contains more than one error.

# Variables

Prefix the error prefix, applies to each error's message.

# Structs

Error holds the error message, this message never really changes.
Reporter is a helper structure which can stack errors and prints them to a printer of func(string).

# Interfaces

StackError contains the Stack method.