Exception: Artifactory::Error::ArtifactoryError
- Inherits:
-
StandardError
- Object
- StandardError
- Artifactory::Error::ArtifactoryError
- Defined in:
- lib/artifactory/errors.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ ArtifactoryError
constructor
A new instance of ArtifactoryError.
Constructor Details
#initialize(options = {}) ⇒ ArtifactoryError
Returns a new instance of ArtifactoryError.
4 5 6 7 8 9 |
# File 'lib/artifactory/errors.rb', line 4 def initialize( = {}) class_name = self.class.to_s.split('::').last error_key = Util.underscore(class_name) super I18n.t("artifactory.errors.#{error_key}", ) end |