Creates an async-iterable that throws the specified error upon iterating.
The error to throw upon iterating the iterable.
An iterable that throws when iterated.
Generated using TypeDoc
Creates an async-iterable that throws the specified error upon iterating.