Ruby 2.5 introduces FrozenError class
Ruby 2.5 introduces FrozenError class which is a subclass of RuntimeError class. This change is introduced to differentiate exceptions raised from attempting to modify a frozen object from.
Ruby 2.5 introduces FrozenError class #ruby #rubydeveloper #rubyonrails #class https://rubyonrails.ba/single/ruby-2-5-introduces-frozenerror-class