onError

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

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