Exception: PlatteModuleCreationException
- Inherits:
-
StandardError
- Object
- StandardError
- PlatteModuleCreationException
- Defined in:
- lib/exception/platte_module_creation_exception.rb
Overview
Exception thrown during creation of a Platte module
Instance Attribute Summary collapse
-
#reason ⇒ Object
readonly
Returns the value of attribute reason.
Instance Method Summary collapse
-
#initialize(reason) ⇒ PlatteModuleCreationException
constructor
A new instance of PlatteModuleCreationException.
Constructor Details
#initialize(reason) ⇒ PlatteModuleCreationException
Returns a new instance of PlatteModuleCreationException.
5 6 7 |
# File 'lib/exception/platte_module_creation_exception.rb', line 5 def initialize reason @reason = reason end |
Instance Attribute Details
#reason ⇒ Object (readonly)
Returns the value of attribute reason.
9 10 11 |
# File 'lib/exception/platte_module_creation_exception.rb', line 9 def reason @reason end |