(bytes: number)
| 121 | } |
| 122 | |
| 123 | function buildTooLargeMessage(bytes: number): string { |
| 124 | return `Attachment is too large (${formatBytesAsMegabytes(bytes)}). The maximum supported size is ${formatBytesAsMegabytes(MAX_ATTACH_FILE_SIZE_BYTES)}.`; |
| 125 | } |
| 126 | |
| 127 | function buildMissingFileError(resolvedPath: string, error: unknown): Error { |
| 128 | const message = getErrorMessage(error); |
no test coverage detected