You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(lib): add a more meaningful error message (#30)
* fix(lib): add a more meaningful error message
This adds an error message to explain why calling `self.pause()` cannot work if no previous animation was played.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
"You have to play at least one animation (e.g., `self.wait()`) before pausing. If you want to start paused, use the approriate command-line option when presenting."
90
+
)
91
+
87
92
raiseValueError(
88
93
"Start animation index must be strictly lower than end animation index"
0 commit comments