github.com/GeniusesGroup/libgo@v0.0.0-20220929090155-5ff932cb408e/captcha/errors.go (about)

     1  /* For license and copyright information please see LEGAL file in repository */
     2  
     3  package captcha
     4  
     5  import "../errors"
     6  
     7  // package errors
     8  var (
     9  	ErrCaptchaNotFound       = errors.New("CaptchaNotFound", "Given CaptchaID point to the captcha that not exist")
    10  	ErrCaptchaExpired        = errors.New("CaptchaExpired", "Given CaptchaID point to the captcha that expired")
    11  	ErrCaptchaAnswerNotValid = errors.New("CaptchaAnswerNotValid", "Given answer for captcha not valid")
    12  	ErrCaptchaNotSolved      = errors.New("CaptchaNotSolved", "Given CaptchaID point to the captcha not solved yet, Solve it before use it to prove human being")
    13  )