Categorygithub.com/jgolang/errors
modulepackage
0.1.9
Repository: https://github.com/jgolang/errors.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

New Creates a new error withouth any reference to another error.
NewError creates a new Error instance with the provided code, message, and wrapper error.
With Creates a new error with a new error message from the `message` supplied as a formatted string plus the `args` parameter.
WithC Creates a new error with a new error message from the `message` supplied as a formatted string plus the `args` parameter.
Wrap Creates a new error storing the `err` argument as a reference and a stack trace is computed when this function is called.
Wrap Creates a new error storing the `err` argument as a reference and a stack trace is computed when this function is called.

# Structs

Error is a wrapper of an existing error containing the error stack trace at the moment of creation.