MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / fail

Function fail

packages/plugins/toolkits/src/server.ts:115–116  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

113};
114
115const fail = (message: string): Effect.Effect<never, ToolkitError> =>
116 Effect.fail(new ToolkitError({ message }));
117
118const validatePolicyPattern = (pattern: string): Effect.Effect<void, ToolkitError> =>
119 isValidPattern(pattern)

Callers 6

requireToolkitFunction · 0.70
assertSlugAvailableFunction · 0.70
requirePolicyFunction · 0.70
requireConnectionFunction · 0.70
createFunction · 0.70
updateFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected