File: errorcodes.inc

package info (click to toggle)
tcllib 1.16-dfsg-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 50,040 kB
  • ctags: 18,603
  • sloc: tcl: 156,708; ansic: 14,098; sh: 10,783; xml: 1,766; yacc: 1,114; pascal: 551; makefile: 89; perl: 84; f90: 84; python: 33; ruby: 13; php: 11
file content (31 lines) | stat: -rw-r--r-- 1,133 bytes parent folder | download | duplicates (8)
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
31


The validation type in this package is able to 




INVALID <> CHAR		- Unexpected, incorrect character in input		for <> type of thing.
INVALID <> CHECK-DIGIT	- Validation of the check digit in the input failed	for <> type of thing.
INVALID <> LENGTH	- Unexpected, incorrect length of the input		for <> type of thing.
INVALID <> PREFIX	- Unexpected, incorrect prefix characters in the input	for <> type of thing.

<> currently in

	LUHN		- Unadorned luhn check digit
	LUHN5		- Unadorned luhn 10+5 check digit
	VERHOEFF	- Unadorned verhoeff check digit
	IMEI		- International Mobile Equipment Identity
			  14 digit number + luhn check digit.
	USNPI		- US National Provider Identifier (Medicare)
	ISBN		- International Standard Book Number (-10 and -13 variants)
			  (ISBN13 is a subset of EAN13)
	EAN13		- International Article Number

	CREDITCARD VISA	      - VISA creditcard number.
	CREDITCARD AMEX	      - AMerican EXpress creditcard number.
	CREDITCARD DISCOVER   - Discovery creditcard number
	CREDITCARD MASTERCARD - MasterCard creditcard number

// not yet full there
	EAN8		- Ditto, a reduced form using only 8 characters