Commit Graph

4 Commits

Author SHA1 Message Date
Álvaro Velad Galván 201f632ed8 docs: Update retry documentation (#8076)
Related to
https://github.com/shaka-project/shaka-player/commit/a30f1da2a2edaa7093676c7d525d6a09f9e75372
2025-02-13 16:31:23 +01:00
Martin Stark 21df572731 docs: update error documentation (#6648)
Correctly pass the event.detail to the error handler instead of the event
2024-05-22 09:48:25 -07:00
theodab 4425dca283 chore: Remove state engine (#5752)
The state engine mechanism, designed for the player class, was
over-engineered. The structure of the class makes debugging player
errors unnecessarily annoying, by obfuscating the code-path the error
followed, and in general
has created a significant amount of technical debt.
This changes the player to use an async-await setup for the top-level
operations, laying things out much more cleanly
and linearly.

---------

Co-authored-by: Álvaro Velad Galván <ladvan91@hotmail.com>
2023-10-30 23:59:08 -07:00
Martin Stark ac963a9d1a docs: Add error handling tutorial (#4983)
Shaka error handling is getting increasingly more complex in order to "catch them all".
This new tutorial describes both the basic method of error handling, as well as showing a few
more advanced ways to handle specific errors.

Closes #4484
2023-02-14 00:30:36 -08:00