| Index: common/errors/transient.go
|
| diff --git a/common/errors/transient.go b/common/errors/transient.go
|
| index f15c3a9cadb9a0127b3d04320646681d8de91219..e1d5a6bcffbb460f153dfbd1afbef8c42ad1957b 100644
|
| --- a/common/errors/transient.go
|
| +++ b/common/errors/transient.go
|
| @@ -17,10 +17,17 @@ type transientWrapper struct {
|
| error
|
| }
|
|
|
| +var _ Transient = transientWrapper{}
|
| +var _ Wrap = transientWrapper{}
|
| +
|
| func (t transientWrapper) IsTransient() bool {
|
| return true
|
| }
|
|
|
| +func (t transientWrapper) InnerError() error {
|
| + return t.error
|
| +}
|
| +
|
| // IsTransient tests if a given error is Transient.
|
| func IsTransient(err error) bool {
|
| if t, ok := err.(Transient); ok {
|
|
|