Nick Couchman created GUACAMOLE-499:
---------------------------------------
Summary: REST API Error Codes should come from GuacamoleStatus
Key: GUACAMOLE-499
URL: https://issues.apache.org/jira/browse/GUACAMOLE-499
Project: Guacamole
Issue Type: Improvement
Components: guacamole-client
Reporter: Nick Couchman
Assignee: Nick Couchman
Currently the RESTExceptionWrapper catches specific GuacamoleException-types
and throws specific Response.Status types for those exceptions. Since the HTTP
response code is embedded in the Exceptions via the GuacamoleStatus object in
those exceptions, and that status is used in the tunnel, already, it seems to
make sense to use this code in the REST API, as well.
Unless there's some specific reason we're not?
PR coming soon...
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)