mirror of
https://github.com/moby/moby.git
synced 2026-08-09 17:39:58 +00:00
The `InternalError()` method was added in [moby/libnetwork@50964c9] to classify the error. However, the same commit defined interfaces for error types (in the types package). The [InternalError] interface defined did not match, as it defines a `Internal()` method instead of `InternalError()`. In short; these errors were never matching any interface, and the actual error implementations themselves were also never used as a sentinel error, so we can safely remove these methods. [moby/libnetwork@50964c9]:50964c9948[InternalError]:50964c9948/types/types.go (L233-L237)Signed-off-by: Sebastiaan van Stijn <github@gone.nl>