getCauseString method

String? getCauseString()

Gets original error wrapped by this exception as a string message.

Returns an original error message.

Implementation

String? getCauseString() {
  return cause != null ? cause.toString() : null;
}