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.



21
22
23
24
25
# File 'lib/artifactory/errors.rb', line 21

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