MCPcopy Create free account
hub / github.com/cli/cli / isEpipeError

Function isEpipeError

pkg/iostreams/epipe_windows.go:8–11  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

6)
7
8func isEpipeError(err error) bool {
9 // 232 is Windows error code ERROR_NO_DATA, "The pipe is being closed".
10 return errors.Is(err, syscall.Errno(232))
11}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected