Skip to content

Commit

Permalink
new module brother_ql.exceptions for all custom exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
pklaus committed Sep 14, 2018
1 parent abd9ebe commit 35a53b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 1 addition & 4 deletions brother_ql/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@

class BrotherQLError(Exception): pass
class BrotherQLUnsupportedCmd(BrotherQLError): pass
class BrotherQLUnknownModel(BrotherQLError): pass
class BrotherQLRasterError(BrotherQLError): pass
from .exceptions import *

from .raster import BrotherQLRaster

Expand Down
4 changes: 4 additions & 0 deletions brother_ql/exceptions.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
class BrotherQLError(Exception): pass
class BrotherQLUnsupportedCmd(BrotherQLError): pass
class BrotherQLUnknownModel(BrotherQLError): pass
class BrotherQLRasterError(BrotherQLError): pass

0 comments on commit 35a53b9

Please sign in to comment.