Exception: Para::ComponentNotFound
- Inherits:
-
BaseException
- Object
- StandardError
- BaseException
- Para::ComponentNotFound
- Defined in:
- lib/para/errors.rb
Instance Attribute Summary collapse
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type) ⇒ ComponentNotFound
constructor
A new instance of ComponentNotFound.
- #message ⇒ Object
Constructor Details
#initialize(type) ⇒ ComponentNotFound
Returns a new instance of ComponentNotFound.
7 8 9 |
# File 'lib/para/errors.rb', line 7 def initialize(type) @type = type end |
Instance Attribute Details
#type ⇒ Object
Returns the value of attribute type.
5 6 7 |
# File 'lib/para/errors.rb', line 5 def type @type end |
Instance Method Details
#message ⇒ Object
11 12 13 |
# File 'lib/para/errors.rb', line 11 def "Component not found for type : #{ type }" end |