Exception: Artifactory::Error::ConnectionError

Inherits:
ArtifactoryError show all
Defined in:
lib/artifactory/errors.rb

Overview

A general connection error with a more informative message

Instance Method Summary collapse

Constructor Details

#initialize(endpoint) ⇒ ConnectionError

Returns a new instance of ConnectionError.



37
38
39
40
41
# File 'lib/artifactory/errors.rb', line 37

def initialize(endpoint)
  super "The Artifactory server at `#{endpoint}' is not currently " \
        "accepting connections. Please ensure that the server is " \
        "running an that your authentication information is correct."
end