-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathImage.ts
More file actions
30 lines (17 loc) · 914 Bytes
/
Image.ts
File metadata and controls
30 lines (17 loc) · 914 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// ----------------------------------------------------------------
// PURPOSE:
// This library implements Image errors.
// ----------------------------------------------------------------
export class ImageError extends Error {}
export class ImageNotFoundError extends ImageError {}
export class InvalidImageHeightError extends ImageError {}
export class InvalidImageWidthError extends ImageError {}
export class InvalidImageLeftError extends ImageError {}
export class InvalidImageRightError extends ImageError {}
export class InvalidImageTopError extends ImageError {}
export class InvalidImageBottomError extends ImageError {}
export class ImageProcessingError extends ImageError {}
export class ImageOrientationError extends ImageError {}
export class ImageLevelError extends ImageError {}
export class ImageIntensityError extends ImageError {}
export class ImageRatioError extends ImageError {}