MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / getPdfInvalidErrorMessage

Function getPdfInvalidErrorMessage

source code/services/api/errors.ts:183–187  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

181 : 'PDF is password protected. Please double press esc to edit your message and try again.'
182}
183export function getPdfInvalidErrorMessage(): string {
184 return getIsNonInteractiveSession()
185 ? 'The PDF file was not valid. Try converting it to text first (e.g., pdftotext).'
186 : 'The PDF file was not valid. Double press esc to go back and try again with a different file.'
187}
188export function getImageTooLargeErrorMessage(): string {
189 return getIsNonInteractiveSession()
190 ? '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