onError

abstract val onError: (ErrorRecord, QueryModel<*>) -> Unit?(source)

This callback function will be called if some query encounters an error.