toString method

  1. @override
String toString()
override

Returns a string representation of the exception.

This method overrides toString to provide a readable error message, including both the message and details if available.

Implementation

@override
String toString() {
  return 'AirtableException: $message ${details != null ? "- $details" : ""}';
}