Exception: NoradCli::UiSeedGenerator::ManifestMissingAttributesError
- Inherits:
-
ManifestError
- Object
- StandardError
- ManifestError
- NoradCli::UiSeedGenerator::ManifestMissingAttributesError
- Defined in:
- lib/norad_cli/support/ui_seed_generator.rb
Instance Attribute Summary collapse
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
Attributes inherited from ManifestError
Instance Method Summary collapse
-
#initialize(manifest_path, attributes) ⇒ ManifestMissingAttributesError
constructor
A new instance of ManifestMissingAttributesError.
- #message ⇒ Object
Constructor Details
#initialize(manifest_path, attributes) ⇒ ManifestMissingAttributesError
Returns a new instance of ManifestMissingAttributesError.
74 75 76 77 |
# File 'lib/norad_cli/support/ui_seed_generator.rb', line 74 def initialize(manifest_path, attributes) @manifest_path = manifest_path @attributes = attributes end |
Instance Attribute Details
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes.
72 73 74 |
# File 'lib/norad_cli/support/ui_seed_generator.rb', line 72 def attributes @attributes end |
Instance Method Details
#message ⇒ Object
79 80 81 |
# File 'lib/norad_cli/support/ui_seed_generator.rb', line 79 def "Invalid manifest: #{manifest_path}. Missing attributes: #{attributes.join(', ')}" end |