File: errors.go

package info (click to toggle)
golang-codeberg-gusted-mcaptcha 0.0~git20220723.4f3072e-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 96 kB
  • sloc: makefile: 2
file content (14 lines) | stat: -rw-r--r-- 423 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package mcaptcha

import "errors"

var (
	// ErrMissingSecret errors when no secret was provided by the code.
	ErrMissingSecret = errors.New("no secret was provided")

	// ErrMissingSitekey errors when no sitekey was provided by the code.
	ErrMissingSitekey = errors.New("no sitekey was provided")

	// ErrMissingToken errors when no token was provided by the code.
	ErrMissingToken = errors.New("no token was provided")
)