Exception: Artifactory::Error::ConnectionError
- Inherits:
-
ArtifactoryError
- Object
- StandardError
- ArtifactoryError
- Artifactory::Error::ConnectionError
- Defined in:
- lib/artifactory/errors.rb
Overview
A general connection error with a more informative message
Instance Method Summary collapse
-
#initialize(endpoint) ⇒ ConnectionError
constructor
A new instance of ConnectionError.
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 |