diff --git a/errors.go b/errors.go index 602089c935a..a5fa87b1e6f 100644 --- a/errors.go +++ b/errors.go @@ -49,11 +49,6 @@ type StreamError struct { Remote bool } -func (e *StreamError) Is(target error) bool { - _, ok := target.(*StreamError) - return ok -} - func (e *StreamError) Error() string { pers := "local" if e.Remote {