# Class: ScannerStateError

[Mobile Document Scanner API Reference](../index.md) / ScannerStateError

# Class: ScannerStateError

Defined in: [src/faults.ts:64](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/src/faults.ts#L64)

The error of a method that starts work, when the document scanner cannot start
it. The methods are [preload()](DocumentScanner.md#preload),
[scan()](DocumentScanner.md#scan), and [reset()](DocumentScanner.md#reset).
As with the errors of the DOM for a call in the wrong state, it is a
`DOMException` with the name `InvalidStateError`.

## Extends

- `DOMException`

## Constructors

### Constructor

> **new ScannerStateError**(`reason`): `ScannerStateError`

Defined in: [src/faults.ts:73](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/src/faults.ts#L73)

Make the error for `reason`, with the message of that reason.

#### Parameters

##### reason

[`ScannerStateReason`](../type-aliases/ScannerStateReason.md)

The reason that the method could not start.

#### Returns

`ScannerStateError`

#### Overrides

`DOMException.constructor`

## Properties

### ABORT\_ERR

> `readonly` **ABORT\_ERR**: `20`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11354](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11354)

#### Inherited from

`DOMException.ABORT_ERR`

***

### cause?

> `optional` **cause?**: `unknown`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.es2022.error.d.ts:24](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.error.d.ts#L24)

#### Inherited from

`DOMException.cause`

***

### ~~code~~

> `readonly` **code**: `number`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11322](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11322)

The **`code`** read-only property of the DOMException interface returns one of the legacy error code constants, or 0 if none match.

#### Deprecated

[MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/code)

#### Inherited from

`DOMException.code`

***

### DATA\_CLONE\_ERR

> `readonly` **DATA\_CLONE\_ERR**: `25`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11359](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11359)

#### Inherited from

`DOMException.DATA_CLONE_ERR`

***

### DOMSTRING\_SIZE\_ERR

> `readonly` **DOMSTRING\_SIZE\_ERR**: `2`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11336](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11336)

#### Inherited from

`DOMException.DOMSTRING_SIZE_ERR`

***

### HIERARCHY\_REQUEST\_ERR

> `readonly` **HIERARCHY\_REQUEST\_ERR**: `3`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11337](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11337)

#### Inherited from

`DOMException.HIERARCHY_REQUEST_ERR`

***

### INDEX\_SIZE\_ERR

> `readonly` **INDEX\_SIZE\_ERR**: `1`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11335](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11335)

#### Inherited from

`DOMException.INDEX_SIZE_ERR`

***

### INUSE\_ATTRIBUTE\_ERR

> `readonly` **INUSE\_ATTRIBUTE\_ERR**: `10`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11344](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11344)

#### Inherited from

`DOMException.INUSE_ATTRIBUTE_ERR`

***

### INVALID\_ACCESS\_ERR

> `readonly` **INVALID\_ACCESS\_ERR**: `15`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11349](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11349)

#### Inherited from

`DOMException.INVALID_ACCESS_ERR`

***

### INVALID\_CHARACTER\_ERR

> `readonly` **INVALID\_CHARACTER\_ERR**: `5`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11339](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11339)

#### Inherited from

`DOMException.INVALID_CHARACTER_ERR`

***

### INVALID\_MODIFICATION\_ERR

> `readonly` **INVALID\_MODIFICATION\_ERR**: `13`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11347](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11347)

#### Inherited from

`DOMException.INVALID_MODIFICATION_ERR`

***

### INVALID\_NODE\_TYPE\_ERR

> `readonly` **INVALID\_NODE\_TYPE\_ERR**: `24`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11358](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11358)

#### Inherited from

`DOMException.INVALID_NODE_TYPE_ERR`

***

### INVALID\_STATE\_ERR

> `readonly` **INVALID\_STATE\_ERR**: `11`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11345](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11345)

#### Inherited from

`DOMException.INVALID_STATE_ERR`

***

### message

> `readonly` **message**: `string`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11328](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11328)

The **`message`** read-only property of the DOMException interface returns a string representing a message or description associated with the given error name.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/message)

#### Inherited from

`DOMException.message`

***

### name

> `readonly` **name**: `string`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11334](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11334)

The **`name`** read-only property of the DOMException interface returns a string that contains one of the strings associated with an error name.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/name)

#### Inherited from

`DOMException.name`

***

### NAMESPACE\_ERR

> `readonly` **NAMESPACE\_ERR**: `14`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11348](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11348)

#### Inherited from

`DOMException.NAMESPACE_ERR`

***

### NETWORK\_ERR

> `readonly` **NETWORK\_ERR**: `19`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11353](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11353)

#### Inherited from

`DOMException.NETWORK_ERR`

***

### NO\_DATA\_ALLOWED\_ERR

> `readonly` **NO\_DATA\_ALLOWED\_ERR**: `6`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11340](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11340)

#### Inherited from

`DOMException.NO_DATA_ALLOWED_ERR`

***

### NO\_MODIFICATION\_ALLOWED\_ERR

> `readonly` **NO\_MODIFICATION\_ALLOWED\_ERR**: `7`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11341](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11341)

#### Inherited from

`DOMException.NO_MODIFICATION_ALLOWED_ERR`

***

### NOT\_FOUND\_ERR

> `readonly` **NOT\_FOUND\_ERR**: `8`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11342](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11342)

#### Inherited from

`DOMException.NOT_FOUND_ERR`

***

### NOT\_SUPPORTED\_ERR

> `readonly` **NOT\_SUPPORTED\_ERR**: `9`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11343](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11343)

#### Inherited from

`DOMException.NOT_SUPPORTED_ERR`

***

### QUOTA\_EXCEEDED\_ERR

> `readonly` **QUOTA\_EXCEEDED\_ERR**: `22`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11356](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11356)

#### Inherited from

`DOMException.QUOTA_EXCEEDED_ERR`

***

### reason

> `readonly` **reason**: [`ScannerStateReason`](../type-aliases/ScannerStateReason.md)

Defined in: [src/faults.ts:66](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/src/faults.ts#L66)

The reason that the method could not start.

***

### SECURITY\_ERR

> `readonly` **SECURITY\_ERR**: `18`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11352](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11352)

#### Inherited from

`DOMException.SECURITY_ERR`

***

### stack?

> `optional` **stack?**: `string`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.es5.d.ts:1076](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts#L1076)

#### Inherited from

`DOMException.stack`

***

### SYNTAX\_ERR

> `readonly` **SYNTAX\_ERR**: `12`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11346](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11346)

#### Inherited from

`DOMException.SYNTAX_ERR`

***

### TIMEOUT\_ERR

> `readonly` **TIMEOUT\_ERR**: `23`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11357](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11357)

#### Inherited from

`DOMException.TIMEOUT_ERR`

***

### TYPE\_MISMATCH\_ERR

> `readonly` **TYPE\_MISMATCH\_ERR**: `17`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11351](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11351)

#### Inherited from

`DOMException.TYPE_MISMATCH_ERR`

***

### URL\_MISMATCH\_ERR

> `readonly` **URL\_MISMATCH\_ERR**: `21`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11355](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11355)

#### Inherited from

`DOMException.URL_MISMATCH_ERR`

***

### VALIDATION\_ERR

> `readonly` **VALIDATION\_ERR**: `16`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11350](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11350)

#### Inherited from

`DOMException.VALIDATION_ERR`

***

### WRONG\_DOCUMENT\_ERR

> `readonly` **WRONG\_DOCUMENT\_ERR**: `4`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11338](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11338)

#### Inherited from

`DOMException.WRONG_DOCUMENT_ERR`

***

### ABORT\_ERR

> `readonly` `static` **ABORT\_ERR**: `20`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11384](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11384)

#### Inherited from

`DOMException.ABORT_ERR`

***

### DATA\_CLONE\_ERR

> `readonly` `static` **DATA\_CLONE\_ERR**: `25`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11389](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11389)

#### Inherited from

`DOMException.DATA_CLONE_ERR`

***

### DOMSTRING\_SIZE\_ERR

> `readonly` `static` **DOMSTRING\_SIZE\_ERR**: `2`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11366](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11366)

#### Inherited from

`DOMException.DOMSTRING_SIZE_ERR`

***

### HIERARCHY\_REQUEST\_ERR

> `readonly` `static` **HIERARCHY\_REQUEST\_ERR**: `3`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11367](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11367)

#### Inherited from

`DOMException.HIERARCHY_REQUEST_ERR`

***

### INDEX\_SIZE\_ERR

> `readonly` `static` **INDEX\_SIZE\_ERR**: `1`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11365](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11365)

#### Inherited from

`DOMException.INDEX_SIZE_ERR`

***

### INUSE\_ATTRIBUTE\_ERR

> `readonly` `static` **INUSE\_ATTRIBUTE\_ERR**: `10`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11374](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11374)

#### Inherited from

`DOMException.INUSE_ATTRIBUTE_ERR`

***

### INVALID\_ACCESS\_ERR

> `readonly` `static` **INVALID\_ACCESS\_ERR**: `15`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11379](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11379)

#### Inherited from

`DOMException.INVALID_ACCESS_ERR`

***

### INVALID\_CHARACTER\_ERR

> `readonly` `static` **INVALID\_CHARACTER\_ERR**: `5`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11369](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11369)

#### Inherited from

`DOMException.INVALID_CHARACTER_ERR`

***

### INVALID\_MODIFICATION\_ERR

> `readonly` `static` **INVALID\_MODIFICATION\_ERR**: `13`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11377](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11377)

#### Inherited from

`DOMException.INVALID_MODIFICATION_ERR`

***

### INVALID\_NODE\_TYPE\_ERR

> `readonly` `static` **INVALID\_NODE\_TYPE\_ERR**: `24`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11388](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11388)

#### Inherited from

`DOMException.INVALID_NODE_TYPE_ERR`

***

### INVALID\_STATE\_ERR

> `readonly` `static` **INVALID\_STATE\_ERR**: `11`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11375](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11375)

#### Inherited from

`DOMException.INVALID_STATE_ERR`

***

### NAMESPACE\_ERR

> `readonly` `static` **NAMESPACE\_ERR**: `14`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11378](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11378)

#### Inherited from

`DOMException.NAMESPACE_ERR`

***

### NETWORK\_ERR

> `readonly` `static` **NETWORK\_ERR**: `19`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11383](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11383)

#### Inherited from

`DOMException.NETWORK_ERR`

***

### NO\_DATA\_ALLOWED\_ERR

> `readonly` `static` **NO\_DATA\_ALLOWED\_ERR**: `6`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11370](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11370)

#### Inherited from

`DOMException.NO_DATA_ALLOWED_ERR`

***

### NO\_MODIFICATION\_ALLOWED\_ERR

> `readonly` `static` **NO\_MODIFICATION\_ALLOWED\_ERR**: `7`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11371](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11371)

#### Inherited from

`DOMException.NO_MODIFICATION_ALLOWED_ERR`

***

### NOT\_FOUND\_ERR

> `readonly` `static` **NOT\_FOUND\_ERR**: `8`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11372](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11372)

#### Inherited from

`DOMException.NOT_FOUND_ERR`

***

### NOT\_SUPPORTED\_ERR

> `readonly` `static` **NOT\_SUPPORTED\_ERR**: `9`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11373](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11373)

#### Inherited from

`DOMException.NOT_SUPPORTED_ERR`

***

### QUOTA\_EXCEEDED\_ERR

> `readonly` `static` **QUOTA\_EXCEEDED\_ERR**: `22`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11386](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11386)

#### Inherited from

`DOMException.QUOTA_EXCEEDED_ERR`

***

### SECURITY\_ERR

> `readonly` `static` **SECURITY\_ERR**: `18`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11382](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11382)

#### Inherited from

`DOMException.SECURITY_ERR`

***

### SYNTAX\_ERR

> `readonly` `static` **SYNTAX\_ERR**: `12`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11376](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11376)

#### Inherited from

`DOMException.SYNTAX_ERR`

***

### TIMEOUT\_ERR

> `readonly` `static` **TIMEOUT\_ERR**: `23`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11387](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11387)

#### Inherited from

`DOMException.TIMEOUT_ERR`

***

### TYPE\_MISMATCH\_ERR

> `readonly` `static` **TYPE\_MISMATCH\_ERR**: `17`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11381](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11381)

#### Inherited from

`DOMException.TYPE_MISMATCH_ERR`

***

### URL\_MISMATCH\_ERR

> `readonly` `static` **URL\_MISMATCH\_ERR**: `21`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11385](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11385)

#### Inherited from

`DOMException.URL_MISMATCH_ERR`

***

### VALIDATION\_ERR

> `readonly` `static` **VALIDATION\_ERR**: `16`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11380](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11380)

#### Inherited from

`DOMException.VALIDATION_ERR`

***

### WRONG\_DOCUMENT\_ERR

> `readonly` `static` **WRONG\_DOCUMENT\_ERR**: `4`

Defined in: [node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.dom.d.ts:11368](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.dom.d.ts#L11368)

#### Inherited from

`DOMException.WRONG_DOCUMENT_ERR`
