onError

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

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