(data: Record<string, unknown>, fallback: string)
| 43 | } |
| 44 | |
| 45 | function 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 | |
| 53 | async function fetchDocusign( |
| 54 | input: string, |
no outgoing calls
no test coverage detected