MCPcopy
hub / github.com/TecharoHQ/anubis / Error

Struct Error

lib/challenge/error.go:24–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24type Error struct {
25 PrivateReason error
26 Verb string
27 PublicReason string
28 StatusCode int
29}
30
31func (e *Error) Error() string {
32 return fmt.Sprintf("challenge: error when processing challenge: %s: %v", e.Verb, e.PrivateReason)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected