forked from pklaus/brother_ql
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added rudimentary API docs built with Sphinx
- Loading branch information
1 parent
0f95932
commit 8405b6c
Showing
19 changed files
with
348 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,19 @@ | ||
""" | ||
This module contains all the classes of exceptions that may be raised by brother_ql | ||
""" | ||
|
||
class BrotherQLError(Exception): | ||
""" Base class for exceptions from this package """ | ||
pass | ||
|
||
class BrotherQLUnsupportedCmd(BrotherQLError): | ||
""" Raised when a raster command is not supported with a given printer/label combination """ | ||
pass | ||
|
||
class BrotherQLUnknownModel(BrotherQLError): | ||
""" Unrecognized printer model """ | ||
pass | ||
|
||
class BrotherQLRasterError(BrotherQLError): | ||
""" Raised when invalid data is passed to functions on ``brother_ql.raster.BrotherQLRaster`` """ | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.