All errors should be trapped by an exception and return a standard error object, which is translated into the correct output format by ApiOpenStudio.
"message": "The application does not exist."
<message>The application does not exist</message>
Where possible, HTML status codes will also match the above error codes, which
will usually be a 200 (Success) or 400 (Bad Request)