onError

open override val onError: (ErrorRecord, QueryModel<*>) -> Unit? = null

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