Comments (3)
We agree that this would be a good convenience feature to add to multierr, but we're still considering if this should work with errors.Is
or should be provided as a separate function from this package.
from multierr.
FWIW, the standard library's errors.Join
matches multierr's behavior.
errors.Is
will return true if any of the errors in a errors.Join
-ed error matches.
Despite the name, errors.Is
is not an equality check but an approximate match.
Perhaps we need an "all" variant of Is (multierr.AllAre
or multierr.Every
?), where every error in the multierr list gets an errors.Is
call individually, but not at the top-level of the multierr.
from multierr.
Internal ref: GO-1932
from multierr.
Related Issues (17)
- Caller to 'demux' list of multiple errors returned HOT 3
- Support other multierr implementations HOT 2
- README says status "beta" HOT 1
- Wish we could tell if the append happened HOT 1
- Zap integration (again) HOT 6
- Go 1.13 unwrapping behavior HOT 2
- Depending on this project ends up pulling in lots of dependencies HOT 5
- go get uber-go / multierr error HOT 1
- LateAppendInto as convenient shorthand for io.Closer and similar use cases HOT 8
- Figure out integration story for logging errors, especially using zap HOT 7
- AppendInvoke silently drops errors subtly HOT 3
- Invitation to comment on proposed standard library multierror support HOT 1
- YAML package update HOT 2
- Go 1.20: Errors() should support any multi-error HOT 1
- Set minimum permissions to workflows HOT 1
- Equal Errors showing as different HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from multierr.