Skip to content

Commit

Permalink
Merge pull request #49 from open-contracting/dev
Browse files Browse the repository at this point in the history
Rename base exception class from `ReportError` to `OCDSKitError`.
  • Loading branch information
jpmckinney committed Jun 12, 2018
2 parents f80ffee + 9c8cf9a commit 1864caa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# 0.0.3

* Add helpful error message if the input is not [line-delimited JSON](https://en.wikipedia.org/wiki/JSON_streaming) data.
* Rename base exception class from `ReportError` to `OCDSKitError`.

# 0.0.2 (2018-03-14)

Expand Down
4 changes: 2 additions & 2 deletions ocdskit/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
class ReportError(Exception):
class OCDSKitError(Exception):
"""Base class for exceptions from within this package"""


class CommandError(ReportError):
class CommandError(OCDSKitError):
"""Errors from within this package's CLI"""

0 comments on commit 1864caa

Please sign in to comment.