Exception: OFlow::FrozenError

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

Overview

An Exception indicating a data value is frozen and can not be modified.

Instance Method Summary collapse

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