aboutsummaryrefslogtreecommitdiff
path: root/errors.go
blob: ce04bf690a81f2475ad10345da5df7f92ebe0fb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package acme

import "errors"

var Errors = map[string]error{
	"badCSR":         errors.New("The CSR is unacceptable (e.g., due to a short key)"),
	"badNonce":       errors.New("The client sent an unacceptable anti-replay nonce"),
	"connection":     errors.New("The server could not connect to the client for DV"),
	"dnssec":         errors.New("The server could not validate a DNSSEC signed domain"),
	"malformed":      errors.New("The request message was malformed"),
	"serverInternal": errors.New("The server experienced an internal error"),
	"tls":            errors.New("The server experienced a TLS error during DV"),
	"unauthorized":   errors.New("The client lacks sufficient authorization"),
	"unknownHost":    errors.New("The server could not resolve a domain name"),
}