# Type Alias: ScannerStateReason

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

# Type Alias: ScannerStateReason

> **ScannerStateReason** = `"disposed"` \| `"sessionRunning"`

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

The reason that the document scanner could not start the work of a method: it is
`disposed`, or a session runs (`sessionRunning`).
