Return-Path: X-Original-To: apmail-drill-dev-archive@www.apache.org Delivered-To: apmail-drill-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A78BE10092 for ; Thu, 4 Dec 2014 01:52:14 +0000 (UTC) Received: (qmail 36020 invoked by uid 500); 4 Dec 2014 01:52:13 -0000 Delivered-To: apmail-drill-dev-archive@drill.apache.org Received: (qmail 35596 invoked by uid 500); 4 Dec 2014 01:52:13 -0000 Mailing-List: contact dev-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list dev@drill.apache.org Received: (qmail 35194 invoked by uid 99); 4 Dec 2014 01:52:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2014 01:52:13 +0000 Date: Thu, 4 Dec 2014 01:52:13 +0000 (UTC) From: "Hanifi Gunes (JIRA)" To: dev@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (DRILL-1807) Define a generic error message & implement a generic error mapper for uncaught exceptions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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)