aboutsummaryrefslogblamecommitdiff
path: root/errors.go
blob: 21973fa76996e1de9ff8e98f3d1f974fe54cc042 (plain) (tree)
1
2
3
4
5
6
7
8
9






                                                                                                   
                                                                                        
 
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
	ErrNotImplemented  = errors.New("not implemented")  // not implemented currently
)