-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
30 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
""" | ||
A module to define micropip custom Exceptions. | ||
""" | ||
|
||
|
||
class UnsupportedContentTypeError(Exception): | ||
"""raise when selecting a parser for current index | ||
This is raise if the current content type is not recognized. | ||
""" | ||
|
||
|
||
class NoCompatibleWheelError(Exception): | ||
""" | ||
This is raised when a package is found but have no wheel compatible with | ||
current pyodide. | ||
""" | ||
|
||
|
||
class PackageNotFoundOnAnyIndexError(Exception): | ||
""" | ||
This is raised if current package was not found on any of the currently | ||
listed index. | ||
""" |
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