MCPcopy
hub / github.com/codeaashu/claude-code / getPdfInvalidErrorMessage

Function getPdfInvalidErrorMessage

src/services/api/errors.ts:181–185  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

179 : 'PDF is password protected. Please double press esc to edit your message and try again.'
180}
181export function getPdfInvalidErrorMessage(): string {
182 return getIsNonInteractiveSession()
183 ? 'The PDF file was not valid. Try converting it to text first (e.g., pdftotext).'
184 : 'The PDF file was not valid. Double press esc to go back and try again with a different file.'
185}
186export function getImageTooLargeErrorMessage(): string {
187 return getIsNonInteractiveSession()
188 ? 'Image was too large. Try resizing the image or using a different approach.'

Callers 2

normalizeMessagesForAPIFunction · 0.85

Calls 1

Tested by

no test coverage detected