MCPcopy Create free account
hub / github.com/dolanor/rip / ErrorSourceHeader

Interface ErrorSourceHeader

error.go:92–97  ·  view source on GitHub ↗

ErrorSourcePointer allows for a user to document the request header that is creating the error.

Source from the content-addressed store, hash-verified

90
91// ErrorSourcePointer allows for a user to document the request header that is creating the error.
92type ErrorSourceHeader interface {
93 // ErrorSourceHeader returns the request header name that is creating the error.
94 //
95 // e.g.: "X-App-My-Header" for an HTTP request with this header
96 ErrorSourceHeader() string
97}
98
99// ErrorSourcePointer allows for a user to document the query parameter that is creating the error.
100type ErrorSourceParameter interface {

Callers 1

extractErrorSourceFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected