Display Error message from apex class to skuid ui

Rohit, if you are performing the validation in Apex Triggers, then if you use the SObject addError() method, you can add errors that will show up in Skuid pages.

If you have a need to initiate this validation via a button click in the Skuid UI, then you should take a look at this post: Adding errors with JS