Utility library for creating more meaningful errors.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Matt Skinner 99ab8508f8 Upgrade dependencies. 1 year ago
generate Fixed import paths. 1 year ago
public Fix #1 Enable CI/CD. 1 year ago
.drone.yml Updated drone, remove gitlab ci. 1 year ago
.gitignore Initial errors code with Drone CI. 2 years ago
LICENSE Initial errors code with Drone CI. 2 years ago
README.md Added coverage report link. 1 year ago
argument.go Fix #1 Enable CI/CD. 1 year ago
argument_test.go Fixed import paths. 1 year ago
errors.go Added new test for wrapping errors. 1 year ago
errors2_test.go Fixed import paths. 1 year ago
errors_test.go Fixed import paths. 1 year ago
errors_with_caller_test.go Fixed import paths. 1 year ago
go.mod Use git.sylvanbytes.org packages instead of gitlab. 1 year ago
go.sum Upgrade dependencies. 1 year ago
helper_test.go Update for move to different repo hosting. 1 year ago
list.go Added new locking dynamic extents for manipulating error lists. 1 year ago
list_test.go Added new locking dynamic extents for manipulating error lists. 1 year ago
precondition.go Update for move to different repo hosting. 1 year ago
precondition_test.go Update for move to different repo hosting. 1 year ago
runtime.go Update for move to different repo hosting. 1 year ago
runtime_test.go Fixed import paths. 1 year ago
stack.go Fix #1 Enable CI/CD. 1 year ago
stack_test.go Fixed import paths. 1 year ago

README.md

pipeline status coverage report

Coverage Report

Errors

A library that facilitates the creation of error. Not every error is a simple error string but could be composed of multiple values. An error data type that only contains the data pertaining to an error is more memory efficient than an error with a full error message. This is specially true for specific error messages rather tha generalized errors, which the standard Go error library already addresses very well.

Why?

The standard library is generic and does not provide specialized error handling. This library aims to ease the use of customized error messages.