Handle errors for email field in Appium

Hello,

I am trying to handle the error message on the text field when user enters a inappropriate text ( For EX: user enters “ac” in email field and selects “Continue”) App displays a error message like “Please enter a valid email address…”

Can any one suggest me how to validate the text of that error message.
I tried it with UI Automator but the element is not identified on the UI Automator.