k1LoW / errors

errors + stack staces.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

errors Go Reference CI Coverage Code to Test Ratio Test Execution Time

errors + stack staces.

Key features of k1LoW/errors are:

  • Retain the stack traces once stacked as far as possible.
  • It is possible to output stack traces in structured data.
  • Zero dependency

Usage

import (
    // "errors"
    "github.com/k1LoW/errors"
)

Difference between errors and k1LoW/errors

  • The behaviour of methods with the same name as the errors package is the same.
  • k1LoW/errors has WithStack and StackTraces functions.

References

About

errors + stack staces.

License:MIT License


Languages

Language:Go 94.8%Language:Makefile 5.2%