onError

abstract fun onError(dialogRequestId: String, type: TextAgentInterface.ErrorType)