Sha256: ad57a0a9155c39ff3b381028909cebf31e651f165b825b060893fed9ec2d747f
Contents?: true
Size: 981 Bytes
Versions: 4
Compression:
Stored size: 981 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 401. class UnauthorizedError < 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 # Raised when login fails. class AuthenticationError < DockerError; end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
docker-api-1.7.4 | lib/docker/error.rb |
docker-api-1.7.3 | lib/docker/error.rb |
docker-api-1.7.2 | lib/docker/error.rb |
docker-api-1.7.0 | lib/docker/error.rb |