what method

String what()

Returns the explanatory string (analogous to what() in C++).

Implementation

String what() => message;