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

Apoorv Naik updated ATLAS-1253:
-------------------------------
    Description: Move all REST API error messages into the AtlasErrorCode enum  
(was: 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)

> Move string error messages to Enum
> ----------------------------------
>
>                 Key: ATLAS-1253
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1253
>             Project: Atlas
>          Issue Type: Improvement
>    Affects Versions: 0.7-incubating, 0.8-incubating
>            Reporter: Apoorv Naik
>            Assignee: Apoorv Naik
>             Fix For: 0.8-incubating
>
>
> Move all REST API error messages into the AtlasErrorCode enum



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

Reply via email to