Skip to content

Commit

Permalink
Add basic exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff committed Aug 23, 2017
1 parent 8b9d910 commit 4bf59cb
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions opendata_transport/exceptions.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
"""
Copyright (c) 2015-2017 Fabian Affolter <[email protected]>
Licensed under MIT. All rights reserved.
"""


class OpendataTransportError(Exception):
"""General MyStromError exception occurred."""

pass


class OpendataTransportConnectionError(OpendataTransportError):
"""When a connection error is encountered."""

pass

0 comments on commit 4bf59cb

Please sign in to comment.