joelmoss opened this issue a year ago · 0 comments
When using frozen string literals, raising an exception with a message raises an exception (can't modify frozen String: "...") in SolidErrors itself...
can't modify frozen String: "..."
raise StandardError, 'some error'
The culprit is the use of String#gsub! here.
String#gsub!