Add errors.Errorf

This commit is contained in:
Dan Jones 2024-01-17 10:58:39 -06:00
commit 6e7400df4d
5 changed files with 160 additions and 0 deletions

View file

@ -27,3 +27,13 @@ type UnwrappableErrors interface {
ResponsableError
Unwrap() []error
}
type wrappedError interface {
Error() string
Unwrap() error
}
type wrappedErrors interface {
Error() string
Unwrap() []error
}