-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* better serialization of pandas objects * plotly relayout event * move exceptions to their own module * whitespace
- Loading branch information
Showing
6 changed files
with
132 additions
and
56 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 |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# -*- coding: utf-8 -*- | ||
"""Custom Bowtie exceptions.""" | ||
|
||
|
||
class YarnError(Exception): | ||
"""Errors from ``Yarn``.""" | ||
|
||
pass | ||
|
||
|
||
class WebpackError(Exception): | ||
"""Errors from ``Webpack``.""" | ||
|
||
pass | ||
|
||
|
||
class SizeError(Exception): | ||
"""Size values must be a number.""" | ||
|
||
pass | ||
|
||
|
||
class GridIndexError(IndexError): | ||
"""Invalid index into the grid layout.""" | ||
|
||
pass | ||
|
||
|
||
class NoUnusedCellsError(Exception): | ||
"""All cells are used.""" | ||
|
||
pass | ||
|
||
|
||
class UsedCellsError(Exception): | ||
"""All cells are used.""" | ||
|
||
pass | ||
|
||
|
||
class MissingRowOrColumn(Exception): | ||
"""Missing a row or column.""" | ||
|
||
pass | ||
|
||
|
||
class NoSidebarError(Exception): | ||
"""Cannot add to the sidebar when it doesn't exist.""" | ||
|
||
pass | ||
|
||
|
||
class NotStatefulEvent(Exception): | ||
"""This event is not stateful and cannot be paired with other events.""" | ||
|
||
pass | ||
|
||
|
||
class SerializationError(TypeError): | ||
"""Cannot (de)serialize data.""" | ||
|
||
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