fractaledmind/solid_errors

FrozenError with frozen_string_literal

joelmoss opened this issue · 0 comments

When using frozen string literals, raising an exception with a message raises an exception (can't modify frozen String: "...") in SolidErrors itself...

raise StandardError, 'some error'

The culprit is the use of String#gsub! here.