I could easily add a msg parameter to make it customizable.


On Tue, Jun 18, 2013 at 11:46 AM, Tyler Roscoe <notifications@github.com>wrote:

> In core/db.py:
>
> > @@ -16,6 +16,12 @@ def UnsignedInteger():
> >      else:
> >          return Integer
> >
> > +
> > +class DatabaseError(Exception):
> > +	def __init__(self, *args, **kwargs):
>
> I wouldn't bother with this. The message provides no information that is
> not present in the name of the exception, and it prevents me from sticking
> a more useful message in if I choose to do so.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/Yelp/pushmanager/pull/12/files#r4756078>
> .
>