Skip to content

Commit 9eafaea

Browse files
authored
Add some choreo errors to kaleido.errors (#312)
* Add some choreo errors to kaleido.errors * Update changelog
1 parent b1208a3 commit 9eafaea

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/py/CHANGELOG.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ v1.0.0rc11
33
- Crop page to pdf size
44
- Add type checks to user input for improved error messages
55
- Fix latex strings in PDF bolding
6+
- Add some choreographer errors to kaleido.errors
67
v1.0.0rc10
78
- Allow user to pass Figure-like dicts
89
- Fix bug by which calc fig rejected plotly figures

src/py/kaleido/errors.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
"""A list of errors available from the kaleido package."""
22

3+
from choreographer.errors import (
4+
BrowserClosedError,
5+
BrowserFailedError,
6+
ChromeNotFoundError,
7+
)
8+
39
from ._kaleido_tab import JavascriptError, KaleidoError
410

511
__all__ = [
12+
"BrowserClosedError",
13+
"BrowserFailedError",
14+
"ChromeNotFoundError",
615
"JavascriptError",
716
"KaleidoError",
817
]

0 commit comments

Comments
 (0)