This was added in Ruby 3.2 for things like 'did_you_mean' that annotate existing exception messages
Currently the annotations are included in Exception#message, but when Ruby 3.2 releases they will move to Exception#detailed_message so we need to use the new method to keep the existing behaviour
Goal
This was added in Ruby 3.2 for things like 'did_you_mean' that annotate existing exception messages
Currently the annotations are included in
Exception#message
, but when Ruby 3.2 releases they will move toException#detailed_message
so we need to use the new method to keep the existing behaviour