Exception: Booby::InvalidResponseError
- Defined in:
- lib/booby/errors.rb
Overview
Public: Error raised when processor returns unexpected stuff.
Instance Method Summary collapse
-
#initialize(obj) ⇒ InvalidResponseError
constructor
A new instance of InvalidResponseError.
Constructor Details
#initialize(obj) ⇒ InvalidResponseError
Returns a new instance of InvalidResponseError.
8 9 10 11 12 13 |
# File 'lib/booby/errors.rb', line 8 def initialize(obj) super( "Invalid response from processor. Expected `true', `false'" + "or an instance of processor, got: #{obj.inspect}" ) end |