Error/Exception type hierarchy #21

Open
semmypurewal opened this Issue Oct 25, 2012 · 0 comments

Comments

Projects
None yet
1 participant
Owner

semmypurewal commented Oct 25, 2012

We need a new solution for handling errors. This is due to error messages currently being specified in two places: the src file that throws the errors and spec files which checks for the error message. This is an inefficient and bug-prone approach.

A better solution might be to create a type-hierarchy of Errors/Exceptions, and check for the types in the spec file, rather than specific messages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment