I am using google translate API for the translation. In the translation, if any exception occurs, it throws TranslateException with a message.I have added logs in my code which are:
com.google.cloud.translate.TranslateException: Daily Limit Exceeded
com.google.cloud.translate.TranslateException: User Rate Limit Exceeded
and text too long when char limit exceeds 5000 characters in a single request.
I searched in google API docs for TranslateException but didn't find.I want a list of all exception messages like User Rate Limit Exceeded, Daily Limit Exceeded etc.