Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatStderr ¶
func IsNetworkFailure ¶
IsNetworkFailure reports whether err is a failure to reach a server (dial, DNS, TLS, proxy, or a dropped connection) rather than a server response or local work. It matches the transport error types, never a bare io.EOF, so a truncated local file is not mistaken for a network problem.
Types ¶
type ClassifiedError ¶
func Classify ¶
func Classify(err error) ClassifiedError
Click to show internal directories.
Click to hide internal directories.