Exception: Pragma::Rails::NoResponseError
- Inherits:
-
StandardError
- Object
- StandardError
- Pragma::Rails::NoResponseError
- Defined in:
- lib/pragma/rails/errors.rb
Overview
Raised when an operation doesn’t set a result.response
skill.
Instance Method Summary collapse
-
#initialize ⇒ NoResponseError
constructor
A new instance of NoResponseError.
Constructor Details
#initialize ⇒ NoResponseError
Returns a new instance of NoResponseError.
7 8 9 10 11 12 13 14 |
# File 'lib/pragma/rails/errors.rb', line 7 def initialize super <<~MESSAGE Your operation did not return a `result.response` skill, which might mean one of the following: * The execution of the operation halted early (maybe one of your steps returned a falsey value?). * You forgot to set a `result.response` skill in a custom operation. MESSAGE end |