8000 Tags · zeebo/errs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tags: zeebo/errs

Tags

v2.0.5

Toggle v2.0.5's commit message
midstack inline wrap and precice allocate pcs

this makes it so that doing

    if err != nil {
        return errs.Wrap(err)
    }

should avoid double checking the err for nilness.

additionally, this stack allocates the buffer for
the pcs to put the callers into before heap allocating
the exact size necessary. this reduces the memory usage
an error with a small traceback by like 5x or more.

v1.4.0

Toggle v1.4.0's commit message
add tests for (*Class).Instance()

v2.0.4

Toggle v2.0.4's commit message
return all errors for Unwrap

v1.3.0

Toggle v1.3.0's commit message
make Has check errors more deeply

v2.0.3

Toggle v2.0.3's commit message
bump assert dep

v2.0.2

Toggle v2.0.2's commit message
bump assert dep

v2.0.1

Toggle v2.0.1's commit message
add tag hoisting across %w verbs

v1.2.2

Toggle v1.2.2's commit message
Add Is function (#8)

v1.2.0

Toggle v1.2.0's commit message
Add IsFunc function (#7)

* Add IsFunc function

* Swap causes check and increment

* Add only non-nil errors from Ungroup() to next

* Remove nil check in the beginning of IsFunc - not necessary

* Remove compare to self to avoid potential panics

v1.1.1

Toggle v1.1.1's commit message
Unwrap and Classes should work with Unwrap methods as well

0