getMessage method

String getMessage()

The message associated with this exception.

It defaults to the string representation of the exception.

Implementation

String getMessage() => toString();