MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / streamBrandCheckException$2

Function streamBrandCheckException$2

out/cli.cjs:12911–12913  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

12909 WritableStreamStartErroring(stream4, error);
12910 }
12911 function streamBrandCheckException$2(name) {
12912 return new TypeError(`WritableStream.prototype.${name} can only be used on a WritableStream`);
12913 }
12914 function defaultControllerBrandCheckException$2(name) {
12915 return new TypeError(`WritableStreamDefaultController.prototype.${name} can only be used on a WritableStreamDefaultController`);
12916 }

Callers 4

lockedMethod · 0.85
abortMethod · 0.85
closeMethod · 0.85
getWriterMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…