toString method

  1. @override
String toString()
override

Returns a string representation of the error, primarily the message.

Implementation

@override
String toString() {
  return message;
}