Documentation
¶
Index ¶
- func BadCSRError(msg string, args ...interface{}) error
- func BadPublicKeyError(msg string, args ...interface{}) error
- func CAAError(msg string, args ...interface{}) error
- func ConnectionFailureError(msg string, args ...interface{}) error
- func DNSError(msg string, args ...interface{}) error
- func DuplicateError(msg string, args ...interface{}) error
- func InternalServerError(msg string, args ...interface{}) error
- func InvalidEmailError(msg string, args ...interface{}) error
- func MalformedError(msg string, args ...interface{}) error
- func MissingSCTsError(msg string, args ...interface{}) error
- func New(errType ErrorType, msg string, args ...interface{}) error
- func NotFoundError(msg string, args ...interface{}) error
- func OrderNotReadyError(msg string, args ...interface{}) error
- func RateLimitError(msg string, args ...interface{}) error
- func RejectedIdentifierError(msg string, args ...interface{}) error
- func UnauthorizedError(msg string, args ...interface{}) error
- type BoulderError
- type ErrorType
- type SubBoulderError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BadCSRError ¶
func BadPublicKeyError ¶
func ConnectionFailureError ¶
func DuplicateError ¶
func InternalServerError ¶
func InvalidEmailError ¶
func MalformedError ¶
func MissingSCTsError ¶
func NotFoundError ¶
func OrderNotReadyError ¶
func RateLimitError ¶
func RejectedIdentifierError ¶
func UnauthorizedError ¶
Types ¶
type BoulderError ¶
type BoulderError struct { Type ErrorType Detail string SubErrors []SubBoulderError }
BoulderError represents internal Boulder errors
func (*BoulderError) Error ¶
func (be *BoulderError) Error() string
func (*BoulderError) Unwrap ¶
func (be *BoulderError) Unwrap() error
func (*BoulderError) WithSubErrors ¶
func (be *BoulderError) WithSubErrors(subErrs []SubBoulderError) *BoulderError
WithSubErrors returns a new BoulderError instance created by adding the provided subErrs to the existing BoulderError.
type ErrorType ¶
type ErrorType int
ErrorType provides a coarse category for BoulderErrors. Objects of type ErrorType should never be directly returned by other functions; instead use the methods below to create an appropriate BoulderError wrapping one of these types.
type SubBoulderError ¶
type SubBoulderError struct { *BoulderError Identifier identifier.ACMEIdentifier }
SubBoulderError represents sub-errors specific to an identifier that are related to a top-level internal Boulder error.
Click to show internal directories.
Click to hide internal directories.