blob: fd57ccc71751c568c53562ecb9ae6b6a1a0da9d7 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
package checksum
import "errors"
var (
ErrInvalidNumber = errors.New("invalid number") // number contains non numeric symbols
ErrInvalidChecksum = errors.New("invalid checksum") // number not correct by luhn algorithm
)
|