package
0.16.0
Repository: https://github.com/rbmk-project/common.git
Documentation: pkg.go.dev

# Functions

New creates a new error class from the given error.

# Constants

EADDRINUSE is the address in use error.
EADDRNOTAVAIL is the address not available error.
ECONNABORTED is the connection aborted error.
ECONNREFUSED is the connection refused error.
ECONNRESET is the connection reset by peer error.
EDNS_NODATA is the DNS error for "no answer".
EDNS_NONAME is the DNS error for "no such host".
EEOF indicates an unexpected EOF.
EGENERIC is the generic, unclassified error.
EHOSTUNREACH is the host unreachable error.
EINTR is the interrupted system call error.
EINVAL is the invalid argument error.
ENETDOWN is the network is down error.
ENETUNREACH is the network unreachable error.
ENOBUFS is the no buffer space available error.
ENOTCONN is the not connected error.
EPROTONOSUPPORT is the protocol not supported error.
ETIMEDOUT is the operation timed out error.
ETLS_CA_UNKNOWN is the TLS error for unknown certificate authority.
ETLS_CERT_INVALID is the TLS error for invalid certificate.
ETLS_HOSTNAME_MISMATCH is the TLS error for hostname verification failure.