MCPcopy
hub / github.com/simstudioai/sim / docusignError

Function docusignError

apps/sim/app/api/tools/docusign/route.ts:45–51  ·  view source on GitHub ↗
(data: Record<string, unknown>, fallback: string)

Source from the content-addressed store, hash-verified

43}
44
45function docusignError(data: Record<string, unknown>, fallback: string): string {
46 return (
47 (typeof data.message === 'string' && data.message) ||
48 (typeof data.errorCode === 'string' && data.errorCode) ||
49 fallback
50 )
51}
52
53async function fetchDocusign(
54 input: string,

Callers 7

handleSendEnvelopeFunction · 0.85
handleCreateFromTemplateFunction · 0.85
handleGetEnvelopeFunction · 0.85
handleListEnvelopesFunction · 0.85
handleVoidEnvelopeFunction · 0.85
handleListTemplatesFunction · 0.85
handleListRecipientsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected