Download src/media/image-optimization-error.ts from SaylorTwift/openclaw: direct link, hf CLI and curl.
- Browser
- Download file 291 Bytes
-
https://huggingface.co/SaylorTwift/openclaw/resolve/main/src/media/image-optimization-error.ts
- Command line
-
hf download hf://SaylorTwift/openclaw/src/media/image-optimization-error.ts
-
curl -L -o image-optimization-error.ts https://huggingface.co/SaylorTwift/openclaw/resolve/main/src/media/image-optimization-error.ts
291 Bytes
| /** Internal signal that image optimization could not satisfy its final byte budget. */ | |
| export class ImageOptimizationLimitError extends Error { | |
| constructor( | |
| message: string, | |
| readonly maxBytes: number, | |
| ) { | |
| super(message); | |
| this.name = "ImageOptimizationLimitError"; | |
| } | |
| } | |