MCPcopy Create free account
hub / github.com/Noumena-Network/code / errorWithUsage

Function errorWithUsage

src/commands/mock-limits/mock-limits.ts:159–161  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

157}
158
159function errorWithUsage(message: string): { type: 'text'; value: string } {
160 return ok(`${message}\n\n${usageText()}`)
161}
162
163export const call: LocalCommandCall = async args => {
164 if ((process.env.NCODE_BUILD_MODE !== 'noumena' && process.env.USER_TYPE !== 'ant')) {

Callers 1

callFunction · 0.85

Calls 2

okFunction · 0.85
usageTextFunction · 0.85

Tested by

no test coverage detected