Exception: OFlow::FrozenError
- Inherits:
-
Exception
- Object
- Exception
- OFlow::FrozenError
- Defined in:
- lib/oflow/errors.rb
Overview
An Exception indicating a data value is frozen and can not be modified.
Instance Method Summary collapse
-
#initialize(name, value) ⇒ FrozenError
constructor
A new instance of FrozenError.
Constructor Details
#initialize(name, value) ⇒ FrozenError
Returns a new instance of FrozenError.
20 21 22 |
# File 'lib/oflow/errors.rb', line 20 def initialize(name, value) super("#{name}, a #{value.class} Object is frozen") end |