Description
The REST service return more detailed exception information beyond the HTTP error code in the HTTP header 'ExceptionType' and some other HTTP Resonse header.
Due to some other sources in the web, the best practise approach is to use the HTTP Response headers:
X-Application-Error-Code and X-Application-Error-Info
See discussion here:
http://mail-archives.apache.org/mod_mbox/syncope-dev/201401.mbox/%3C52E61B5D.6080201%40apache.org%3E