isConnectionError property
bool
get
isConnectionError
Returns true if this is a connection-related error.
Connection errors typically require reconnection rather than simple retry.
Implementation
bool get isConnectionError {
return this is ConnectionError ||
(sqlState != null && sqlState!.startsWith('08'));
}