MCPcopy Create free account
hub / github.com/anus-dev/ANUS / isSchemaDepthError

Function isSchemaDepthError

packages/core/src/core/anusChat.ts:606–608  ·  view source on GitHub ↗
(errorMessage: string)

Source from the content-addressed store, hash-verified

604
605/** Visible for Testing */
606export function isSchemaDepthError(errorMessage: string): boolean {
607 return errorMessage.includes('maximum schema depth exceeded');
608}
609
610export function isInvalidArgumentError(errorMessage: string): boolean {
611 return errorMessage.includes('Request contains an invalid argument');

Callers 3

sendMessageMethod · 0.85
sendMessageStreamMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected