Also, the default error printer and Exception#full_message use the method instead of Exception#message to get the message string.
Exception#detailed_message calls Exception#message, decorates and returns the result. It adds some escape sequences to highlight, and the class name of the exception to the end of the first line of the message.
Exception#detailed_message is added
Also, the default error printer and Exception#full_message use the
method instead of
Exception#messageto get the message string.Exception#detailed_messagecallsException#message, decorates andreturns the result. It adds some escape sequences to highlight, and the
class name of the exception to the end of the first line of the message.
[Feature #18370]