atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apoorv Naik (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ATLAS-1200) Enhance the Exception mechanism
Date Mon, 24 Oct 2016 20:58:59 GMT

     [ https://issues.apache.org/jira/browse/ATLAS-1200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Apoorv Naik updated ATLAS-1200:
-------------------------------
    Attachment:     (was: ATLAS-1200.patch)

> Enhance the Exception mechanism
> -------------------------------
>
>                 Key: ATLAS-1200
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1200
>             Project: Atlas
>          Issue Type: Improvement
>    Affects Versions: 0.7-incubating, 0.8-incubating
>            Reporter: Apoorv Naik
>            Assignee: Apoorv Naik
>         Attachments: ATLAS-1200.patch
>
>
> Currently the error/exception messages are hand constructed all over the Atlas code base,
making it hard to understand the origin of the problem. Also since Atlas is moving towards
a more RESTful nature it's better to create a catalog for the error message with support for
localization
> Proposal:
> Format: 
> internal_error_code=external_error_code|error_description
> internal_error_code_status=http_status_code
> e.g.
> entity_not_found=entity_not_found|Given entity doesn't exist
> entity_not_found_status=404



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

Mime
View raw message