REST Error management - Begin implementation