MCPcopy Create free account
hub / github.com/abemedia/go-don / HTTPError

Struct HTTPError

errors.go:22–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22type HTTPError struct {
23 err error
24 code int
25}
26
27func Error(err error, code int) *HTTPError {
28 return &HTTPError{err, code}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected