This is documentation for the next version of Grafana k6 documentation. For the latest stable release, go to the latest version.
error(reason)
The error()
method of the
ReadableStreamDefaultController makes any future interactions with the associated stream to error.