Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
| ... | ... |
@@ -33,9 +33,10 @@ func ErrorConnectionFailed(host string) error {
|
| 33 | 33 |
return errConnectionFailed{host: host}
|
| 34 | 34 |
} |
| 35 | 35 |
|
| 36 |
+// Deprecated: use the errdefs.NotFound() interface instead. Kept for backward compatibility |
|
| 36 | 37 |
type notFound interface {
|
| 37 | 38 |
error |
| 38 |
- NotFound() |
|
| 39 |
+ NotFound() bool |
|
| 39 | 40 |
} |
| 40 | 41 |
|
| 41 | 42 |
// IsErrNotFound returns true if the error is a NotFound error, which is returned |