MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / error

Method error

out/cli.cjs:13239–13244  ·  view source on GitHub ↗

* Errors the controlled readable stream, making all future interactions with it fail with the given error `e`.

(e3 = void 0)

Source from the content-addressed store, hash-verified

13237 * Errors the controlled readable stream, making all future interactions with it fail with the given error `e`.
13238 */
13239 error(e3 = void 0) {
13240 if (!IsReadableStreamDefaultController(this)) {
13241 throw defaultControllerBrandCheckException$1("error");
13242 }
13243 ReadableStreamDefaultControllerError(this, e3);
13244 }
13245 /** @internal */
13246 [CancelSteps](reason) {
13247 ResetQueue(this);

Callers

nothing calls this directly

Tested by

no test coverage detected