✨ Add errors.Errorf
This commit is contained in:
parent
59b2969d77
commit
6e7400df4d
5 changed files with 160 additions and 0 deletions
10
interface.go
10
interface.go
|
|
@ -27,3 +27,13 @@ type UnwrappableErrors interface {
|
|||
ResponsableError
|
||||
Unwrap() []error
|
||||
}
|
||||
|
||||
type wrappedError interface {
|
||||
Error() string
|
||||
Unwrap() error
|
||||
}
|
||||
|
||||
type wrappedErrors interface {
|
||||
Error() string
|
||||
Unwrap() []error
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue