getErrorString static method
dynamic
getErrorString(
- String errorCode
)
Implementation
static getErrorString(String errorCode){
switch(errorCode){
case ERR_0x00:
return "Note accepted";
case ERR_0x01:
return "Note length incorrect";
case ERR_0x02:
return "Invalid note";
case ERR_0x03:
return "Invalid note";
case ERR_0x04:
return "Invalid note";
case ERR_0x05:
return "Invalid note";
case ERR_0x06:
return "Channel inhibited";
case ERR_0x07:
return "Second note inserted during read";
case ERR_0x08:
return "Host rejected note";
case ERR_0x09:
return "Invalid note";
case ERR_0x0A:
return "Invalid note read";
case ERR_0x0B:
return "Note too long";
case ERR_0x0C:
return "Validator disabled";
case ERR_0x0D:
return "Mechanism slow/stalled";
case ERR_0x0E:
return "Strim attempt";
case ERR_0x0F:
return "Fraud channel reject";
case ERR_0x10:
return "No notes inserted";
case ERR_0x11:
return "Invalid note read";
case ERR_0x12:
return "Twisted note detected";
case ERR_0x13:
return "Escrow time-out";
case ERR_0x14:
return "Bar code scan fail";
case ERR_0x15:
return "Invalid note read";
case ERR_0x16:
return "Invalid note read";
case ERR_0x17:
return "Invalid note read";
case ERR_0x18:
return "Invalid note read";
case ERR_0x19:
return "Incorrect note width";
case ERR_0x1A:
return "Note too short";
default:
return "";
}
}