Exception: Ultron::UltronException
- Inherits:
-
Exception
- Object
- Exception
- Ultron::UltronException
- Defined in:
- lib/ultron/exceptions/ultron_exception.rb
Instance Attribute Summary collapse
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status) ⇒ UltronException
constructor
A new instance of UltronException.
Constructor Details
#initialize(status) ⇒ UltronException
Returns a new instance of UltronException.
5 6 7 |
# File 'lib/ultron/exceptions/ultron_exception.rb', line 5 def initialize status @status = status end |
Instance Attribute Details
#status ⇒ Object (readonly)
Returns the value of attribute status.
3 4 5 |
# File 'lib/ultron/exceptions/ultron_exception.rb', line 3 def status @status end |