Closed binarykitchen closed 4 years ago
That's a DOMException, which probably also serializes to {}
when simply using JSON.stringify, I assume? In which case, I would imagine it's kind of out-of-scope for this library. Error objects don't get any special treatment in this library, they're treated like any other object.
alright then
Found out while debugging that your library can't stringify exceptions.
For example
DOMException: The play() request was interrupted by a call to pause()
gets returned as{}
.