Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-1357 Extend REST API functionality
  3. DRILL-1807

Define a generic error message & implement a generic error mapper for uncaught exceptions

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • Future
    • Client - HTTP
    • None

    Description

      REST API requires a well-defined, consistent contract for error cases. Upon an API call failure, users should be notified of the problem via error messages/resources. This issue regards to defining the structure of a generic error message that provides a brief user intelligible description as well as details that may be handy for developers to debug the problem. Once the error message is defined. Rest server should map uncaught exceptions to error messages.

      Attachments

        Activity

          People

            Unassigned Unassigned
            hgunes Hanifi Gunes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: