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

Method catch

out/cli.cjs:29792–29800  ·  view source on GitHub ↗
(def)

Source from the content-addressed store, hash-verified

29790 });
29791 }
29792 catch(def) {
29793 const catchValueFunc = typeof def === "function" ? def : () => def;
29794 return new ZodCatch({
29795 ...processCreateParams(this._def),
29796 innerType: this,
29797 catchValue: catchValueFunc,
29798 typeName: ZodFirstPartyTypeKind.ZodCatch
29799 });
29800 }
29801 describe(description) {
29802 const This = this.constructor;
29803 return new This({

Callers 15

constructorMethod · 0.45
_parseMethod · 0.45
_doMethod · 0.45
abortFetchFunction · 0.45
fetchingFunction · 0.45
schemeFetchFunction · 0.45
catchMethod · 0.45
makeRequestMethod · 0.45
constructorMethod · 0.45
wrapAsyncFunction · 0.45

Calls 1

processCreateParamsFunction · 0.85

Tested by

no test coverage detected