onError

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

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