Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RawHTTPStatusError ¶
RawHTTPStatusError represents any response with a 4xx or 5xx status code.
func (RawHTTPStatusError) Error ¶
func (r RawHTTPStatusError) Error() string
type RequestError ¶
type RequestError struct {
Err error
}
RequestError represents a generic error encountered while performing the HTTP request. This generic error occurs before a HTTP response is obtained.
func (RequestError) Error ¶
func (e RequestError) Error() string
type SSLValidationHostnameError ¶
type SSLValidationHostnameError struct {
Message string
}
SSLValidationHostnameError replaces x509.HostnameError when the server has SSL certificate that does not match the hostname.
func (SSLValidationHostnameError) Error ¶
func (e SSLValidationHostnameError) Error() string
type UnverifiedServerError ¶
type UnverifiedServerError struct {
URL string
}
UnverifiedServerError replaces x509.UnknownAuthorityError when the server has SSL but the client is unable to verify it's certificate
func (UnverifiedServerError) Error ¶
func (_ UnverifiedServerError) Error() string
Click to show internal directories.
Click to hide internal directories.