Class: AsyncInvocation::Incorrect

Inherits:
Object
  • Object
show all
Defined in:
lib/async_invocation/incorrect.rb

Defined Under Namespace

Classes: Error

Class Method Summary collapse

Class Method Details

.method_missing(meth, *args) ⇒ Object

Raises:



5
6
7
# File 'lib/async_invocation/incorrect.rb', line 5

def self.method_missing(meth, *args)
  raise Error, "Incorrect invocation of async operation `#{meth}'. It does not return results. It must be called with a block argument."
end