Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

publish errors internal interfaces #50

Open
kamilsk opened this issue Feb 28, 2021 · 1 comment
Open

publish errors internal interfaces #50

kamilsk opened this issue Feb 28, 2021 · 1 comment
Assignees

Comments

@kamilsk
Copy link
Member

kamilsk commented Feb 28, 2021

pkg/errors/errors.go

Lines 58 to 65 in e414a84

// compatible with github.com/pkg/errors
type causer interface {
Cause() error
}
// compatible with built-in errors since 1.13
type wrapper interface {
Unwrap() error
}

@kamilsk kamilsk self-assigned this Feb 28, 2021
@kamilsk
Copy link
Member Author

kamilsk commented Feb 28, 2021

port some internals from built-in errors package (e.g. Is())

@kamilsk kamilsk moved this to Backlog in 🏗 Platform May 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant