Ran Ziv created ARIA-182:
----------------------------

             Summary: Errors hierarchy and consistency
                 Key: ARIA-182
                 URL: https://issues.apache.org/jira/browse/ARIA-182
             Project: AriaTosca
          Issue Type: Story
            Reporter: Ran Ziv
            Priority: Minor


Error classes are currently disorganized.

1) Errors should all be under {{exceptions.py}} for their package / relevant 
part of the code, which is mostly the case but not all over

2) Inheritance is currently somewhat messy, e.g. orchestrator errors under 
{{orchestrator/exceptions.py}} don't inherit from {{OrchestratorError}} but 
rather from {{AriaError}}; There are also both {{AriaError}} and 
{{AriaException}}, and different classes inherit from each.

3) Suffix of error classes is sometimes {{Error}} and sometimes {{Exception}}. 
This should be consistently {{Error}}. Note that there can be cases where it's 
actually an Exception, but at the moment this is widely misused.




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to