Exception: HammerCLIForeman::ResolverError
- Inherits:
-
StandardError
- Object
- StandardError
- HammerCLIForeman::ResolverError
- Defined in:
- lib/hammer_cli_foreman/exceptions.rb
Overview
Resolver exceptions
Direct Known Subclasses
Instance Attribute Summary collapse
-
#resource ⇒ Object
readonly
Returns the value of attribute resource.
Instance Method Summary collapse
-
#initialize(msg, resource) ⇒ ResolverError
constructor
A new instance of ResolverError.
Constructor Details
#initialize(msg, resource) ⇒ ResolverError
Returns a new instance of ResolverError.
10 11 12 13 |
# File 'lib/hammer_cli_foreman/exceptions.rb', line 10 def initialize(msg, resource) @resource = resource super(msg) end |
Instance Attribute Details
#resource ⇒ Object (readonly)
Returns the value of attribute resource.
8 9 10 |
# File 'lib/hammer_cli_foreman/exceptions.rb', line 8 def resource @resource end |