Exception: Pragma::Rails::NoResponseError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/pragma/rails/errors.rb

Overview

Raised when an operation doesn’t set a result.response skill.

Instance Method Summary collapse

Constructor Details

#initializeNoResponseError

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