REST and callback. Help!

Hi! Using REST with list view. It’s supposed, I remove one string and supposed that error occured. But the string already remove! In ajax callback function with pair error & success can be defined. How I define them in REST case?