TWAIN Error CodesΒΆ

Constant Value Description
kTWAINErrFailure 1 Failure due to unknown causes.
kTWAINErrNoMem 2 Not enough memory to perform operation.
kTWAINErrNoSource 3 No Data Source.
kTWAINErrMaxCon 4 Too many connections to the Data Source Manager.
kTWAINErrOperation 5 Bad operation
kTWAINErrBadCap 6 Unknown capability.
kTWAINErrProtocol 9 Unrecognized protocol message.
kTWAINErrBadValue 10 Data parameter out of range.
kTWAINErrSequence 11 Unexpected operation sequence.
kTWAINErrBadDest 12 Unknown destination.
kTWAINErrCapUnsup 13 Capability not supported by source.
kTWAINErrCapOperation 14 Operation not supported by capability.
kTWAINErrCapSeq 15 Capability has dependancy on other capability.
kTWAINErrDenied 16 File is protected.
kTWAINErrFileExists 17 File already exists.
kTWAINErrNoFile 18 File not found.
kTWAINErrNotEmpty 19 Directory is not empty
kTWAINErrPaperJam 20 The feeder is jammed.
kTWAINErrPaperDblFeed 21 The feeder detected multiple pages.
kTWAINErrFileWrite 22 Error writing the file.
kTWAINErrDevOffline 23 The device went offline.