diff --git a/endpoint/endpoint.go b/endpoint/endpoint.go index 383a26b..0061ec3 100644 --- a/endpoint/endpoint.go +++ b/endpoint/endpoint.go @@ -23,3 +23,7 @@ func InvalidateOnError(timeout time.Duration) EndpointerOption { opts.InvalidateTimeout = timeout } } + +type Failer interface { + Failed() error +}