toString method
Returns a string representation of the RPCError.
The string includes the error code, error message, and the request details if available.
Implementation
@override
String toString() {
return 'RPCError: got code $errorCode with msg "$message".';
}