errorEquals

abstract val errorEquals: (Throwable, Throwable) -> Boolean?

Determines whether two errors are equal.

This function is used to determine whether a new error is identical to an existing error via QueryCommand. If the errors are considered identical, QueryState.errorUpdatedAt is not updated, and the existing error state is maintained.