errors icon indicating copy to clipboard operation
errors copied to clipboard

Go error library with error portability over the network

Results 31 errors issues
Sort by recently updated
recently updated
newest added

Hello! At the moment the following code will produce the result "no". I suggest a fix based on the code found in the original method `Is()`. ```golang func main() {...

Since gogo/protobuf has been deprecated since January of 2021, are there any thoughts on replacing it with any other protocol buffer library or simply using the vanilla golang protobuf library?...

https://github.com/getsentry/sentry-go/pull/595 ```bash $ go list -m -json all go: github.com/kataras/iris/[email protected]: invalid version: unknown revision v12.2.0-beta5 ```

This change is [](https://reviewable.io/reviews/cockroachdb/errors/137)

It appears that errors.IsAny does not support multi-error. https://github.com/cockroachdb/errors/blob/c1cc1919cf999fb018fcd038852e969e3d5631cc/markers/markers.go#L152-L205 errors.Is supports multi-error. https://github.com/cockroachdb/errors/blob/c1cc1919cf999fb018fcd038852e969e3d5631cc/markers/markers.go#L44-L92 Perhaps the following equivalent code can be added to IsAny. ```go // Recursively try multi-error causes, if...

If I'm using something like `errors.Wrap`, it seems like the error passed in is still redacted in Sentry reports. I would like to blanket mark certain error types as safe.

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.53.0 to 1.56.3. Release notes Sourced from google.golang.org/grpc's releases. Release 1.56.3 Security server: prohibit more than MaxConcurrentStreams handlers from running at once (CVE-2023-44487) In addition to this...

dependencies

This change is [](https://reviewable.io/reviews/cockroachdb/errors/132)

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.7.0 to 0.17.0. Commits b225e7c http2: limit maximum handler goroutines to MaxConcurrentStreams 88194ad go.mod: update golang.org/x dependencies 2b60a61 quic: fix several bugs in flow control accounting 73d82ef...

dependencies

I made [a spiritual successor of `github.com/pkg/errors`](https://gitlab.com/tozd/go/errors) some time ago and in it I want to know if an error already contains a stack trace. The goal is that if...