Class: Hatchet::Features::CELFailure
- Inherits:
-
Struct
- Object
- Struct
- Hatchet::Features::CELFailure
- Defined in:
- lib/hatchet/features/cel.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(error:) ⇒ CELFailure
constructor
A new instance of CELFailure.
Constructor Details
#initialize(error:) ⇒ CELFailure
Returns a new instance of CELFailure.
13 14 15 |
# File 'lib/hatchet/features/cel.rb', line 13 def initialize(error:) super(status: "failure", error: error) end |
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error
12 13 14 |
# File 'lib/hatchet/features/cel.rb', line 12 def error @error end |
#status ⇒ Object
Returns the value of attribute status
12 13 14 |
# File 'lib/hatchet/features/cel.rb', line 12 def status @status end |