diff options
| author | Yusuke Endoh <mame@ruby-lang.org> | 2022-02-01 17:59:31 +0900 |
|---|---|---|
| committer | Yusuke Endoh <mame@ruby-lang.org> | 2022-02-22 11:55:40 +0900 |
| commit | 35ff545bb689f5af93ac603ea1f512705e0dc249 (patch) | |
| tree | 35807db18378f7f2111ba9f983d3a071895d8d1e /spec | |
| parent | 3af316fa8c48e33c03159e3b0b3bef329e41dee8 (diff) | |
Exception#detailed_message is added
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.
[Feature #18370]
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5516
Diffstat (limited to 'spec')
0 files changed, 0 insertions, 0 deletions
