Exception: Katello::Errors::MissingDebDistributionError
- Inherits:
-
StandardError
- Object
- StandardError
- Katello::Errors::MissingDebDistributionError
- Defined in:
- app/lib/katello/errors.rb
Instance Attribute Summary collapse
-
#repo_name ⇒ Object
readonly
Returns the value of attribute repo_name.
-
#version_href ⇒ Object
readonly
Returns the value of attribute version_href.
Instance Method Summary collapse
-
#initialize(repo_name, version_href) ⇒ MissingDebDistributionError
constructor
A new instance of MissingDebDistributionError.
Constructor Details
#initialize(repo_name, version_href) ⇒ MissingDebDistributionError
Returns a new instance of MissingDebDistributionError.
189 190 191 192 193 194 195 |
# File 'app/lib/katello/errors.rb', line 189 def initialize(repo_name, version_href) @repo_name, @version_href = repo_name, version_href = _( "The Pulp repo version '%{version}' for 'deb' repository '%{name}' must contain at least one distribution!" ) % { name: repo_name, version: version_href } super() end |
Instance Attribute Details
#repo_name ⇒ Object (readonly)
Returns the value of attribute repo_name.
187 188 189 |
# File 'app/lib/katello/errors.rb', line 187 def repo_name @repo_name end |
#version_href ⇒ Object (readonly)
Returns the value of attribute version_href.
187 188 189 |
# File 'app/lib/katello/errors.rb', line 187 def version_href @version_href end |