MCPcopy
hub / github.com/di-sukharev/opencommit / assert

Method assert

out/cli.cjs:29170–29174  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

29168 return fieldErrors;
29169 }
29170 static assert(value) {
29171 if (!(value instanceof _ZodError)) {
29172 throw new Error(`Not a ZodError: ${value}`);
29173 }
29174 }
29175 toString() {
29176 return this.message;
29177 }

Callers 1

pdFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected