Skip to content

Commit

Permalink
Also remove Is(error) for StreamError
Browse files Browse the repository at this point in the history
  • Loading branch information
nekohasekai committed Apr 15, 2024
1 parent d874641 commit 07904f6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 07904f6

Please sign in to comment.