Exception: OFlow::OpError
- Inherits:
-
Exception
- Object
- Exception
- OFlow::OpError
- 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
-
#initialize(name, op) ⇒ OpError
constructor
A new instance of OpError.
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 |