toString method

String toString()
override

String representation of Location for print to logs.

Implementation

String toString() {
  return '[Error code: $code, message: $message]';
}