Client side: REST form exception handling