Skip to content

Commit

Permalink
#54: Add DatabaseError exception
Browse files Browse the repository at this point in the history
  • Loading branch information
keiranjprice101 committed Sep 12, 2019
1 parent 43638e2 commit 0eb5d9d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions common/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
import logging

log = logging.getLogger()


class ApiError(Exception):
pass

Expand All @@ -21,3 +16,7 @@ class AuthenticationError(ApiError):

class BadRequestError(ApiError):
pass


class DatabaseError(ApiError):
pass

0 comments on commit 0eb5d9d

Please sign in to comment.