()
| 184 | : 'The PDF file was not valid. Double press esc to go back and try again with a different file.' |
| 185 | } |
| 186 | export function getImageTooLargeErrorMessage(): string { |
| 187 | return getIsNonInteractiveSession() |
| 188 | ? 'Image was too large. Try resizing the image or using a different approach.' |
| 189 | : 'Image was too large. Double press esc to go back and try again with a smaller image.' |
| 190 | } |
| 191 | export function getRequestTooLargeErrorMessage(): string { |
| 192 | const limits = `max ${formatFileSize(PDF_TARGET_RAW_SIZE)}` |
| 193 | return getIsNonInteractiveSession() |
no test coverage detected