Uploaded image for project: 'Guacamole'
  1. Guacamole
  2. GUACAMOLE-499

REST API Error Codes should come from GuacamoleStatus

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Implemented
    • None
    • 1.0.0
    • guacamole
    • None

    Description

      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...

      Attachments

        Activity

          People

            vnick Nick Couchman
            vnick Nick Couchman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: