MCPcopy Create free account
hub / github.com/codehamr/codehamr / ErrUnreachable

Struct ErrUnreachable

internal/cloud/cloud.go:107–107  ·  view source on GitHub ↗

ErrUnreachable wraps transport errors (refused, timeout, DNS miss) so the TUI can render a hint instead of a raw wrap.

Source from the content-addressed store, hash-verified

105// ErrUnreachable wraps transport errors (refused, timeout, DNS miss) so the TUI
106// can render a hint instead of a raw wrap.
107type ErrUnreachable struct{ Err error }
108
109func (e ErrUnreachable) Error() string { return "backend unreachable: " + e.Err.Error() }
110func (e ErrUnreachable) Unwrap() error { return e.Err }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected