Categorygithub.com/neoxelox/errors
modulepackage
0.3.0
Repository: https://github.com/neoxelox/errors.git
Documentation: pkg.go.dev

# README

errors Integration Publication Go Reference

Highly opinionated Go errors package.

Console Output

Console output

Sentry Output

Sentry output

New Relic Output

TODO

Install

go get github.com/neoxelox/errors

Usage

Check and run the example test file errors_test: go test -v --run TestPrint.

See GoDev for further documentation.

Contribute

Feel free to contribute to this project : ) .

License

This project is licensed under the MIT License - read the LICENSE file for details.

# Functions

New creates a new Error with a message (can have a format) and sets to optionally capture the stack trace when raised (default is true).

# Structs

Error represents an error with traceback and additional info.