Exception: OFlow::OpError

Inherits:
Exception
  • Object
show all
Defined in:
lib/oflow/errors.rb

Overview

An Exception indicating an invalid operation used in a call to receive() or perform().

Instance Method Summary collapse

Constructor Details

#initialize(name, op) ⇒ OpError

Returns a new instance of OpError.



35
36
37
# File 'lib/oflow/errors.rb', line 35

def initialize(name, op)
  super("'#{op}' is not a valid operation for #{name}.")
end