sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brock Noland (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SENTRY-81) Thrift API status should be an object with status code
Date Thu, 02 Jan 2014 16:35:50 GMT
Brock Noland created SENTRY-81:
----------------------------------

             Summary: Thrift API status should be an object with status code
                 Key: SENTRY-81
                 URL: https://issues.apache.org/jira/browse/SENTRY-81
             Project: Sentry
          Issue Type: Bug
    Affects Versions: db_policy_store
            Reporter: Brock Noland
            Assignee: Brock Noland


Since exceptions are crappy in thrift in general and can be problematic from an API perspective
as opposed to the thrift API throwing an exception we should return a Status object which
has an enum or values and an option message which can be used for errors.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message