MCPcopy Create free account
hub / github.com/freecodexyz/free-code /

Class

src/utils/imageValidation.ts:16–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14 * Error thrown when one or more images exceed the API size limit.
15 */
16export class ImageSizeError extends Error {
17 constructor(oversizedImages: OversizedImage[], maxSize: number) {
18 let message: string
19 const firstImage = oversizedImages[0]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected