Help us shape the future of Go! Take the 2026 Go Developer Survey

errutil

package
v0.22.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2022 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsErrConnectionRefused

func IsErrConnectionRefused(err error) bool

IsErrConnectionRefused return whether err is "connect: connection refused"

func IsErrHTTPResponseToHTTPSClient

func IsErrHTTPResponseToHTTPSClient(err error) bool

IsErrHTTPResponseToHTTPSClient returns whether err is "http: server gave HTTP response to HTTPS client"

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL