You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Hanifi Gunes (JIRA)" <ji...@apache.org> on 2014/12/04 02:52:13 UTC

[jira] [Created] (DRILL-1807) Define a generic error message & implement a generic error mapper for uncaught exceptions

Hanifi Gunes created DRILL-1807:
-----------------------------------

             Summary: Define a generic error message & implement a generic error mapper for uncaught exceptions
                 Key: DRILL-1807
                 URL: https://issues.apache.org/jira/browse/DRILL-1807
             Project: Apache Drill
          Issue Type: Sub-task
          Components: Client - HTTP
            Reporter: Hanifi Gunes
            Assignee: Hanifi Gunes


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)