Sha256: 7b4f760956a53c6ef2d4a5335b707c858820fd37eb464e73ef849960f8ad5734
Contents?: true
Size: 817 Bytes
Versions: 11
Compression:
Stored size: 817 Bytes
Contents
# This module holds the Errors for the gem. module Docker::Error # The default error. It's never actually raised, but can be used to catch all # gem-specific errors that are thrown as they all subclass from this. class DockerError < StandardError; end # Raised when invalid arguments are passed to a method. class ArgumentError < DockerError; end # Raised when a request returns a 400. class ClientError < DockerError; end # Raised when a request returns a 500. class ServerError < DockerError; end # Raised when there is an unexpected response code / body. class UnexpectedResponseError < DockerError; end # Raised when there is an incompatible version of Docker. class VersionError < DockerError; end # Raised when a request times out. class TimeoutError < DockerError; end end
Version data entries
11 entries across 11 versions & 1 rubygems