MCPcopy
hub / github.com/danielgtaylor/huma / Error

Method Error

error.go:150–150  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

148type StatusError interface {
149 GetStatus() int
150 Error() string
151}
152
153// HeadersError is an error that has HTTP headers. When returned from an

Callers 15

getAPIPrefixFunction · 0.65
TestCustomErrorFunction · 0.65
AddMethod · 0.65
ErrorMethod · 0.65
error.goFile · 0.65
TestErrorFunction · 0.65
TestNegotiateErrorFunction · 0.65
TestTransformErrorFunction · 0.65
TestErrorWithHeadersFunction · 0.65

Implementers 3

MyErrorhuma_test.go
ErrorModelerror.go
MyErrorexamples/custom-error/main.go

Calls

no outgoing calls

Tested by 15

TestCustomErrorFunction · 0.52
TestErrorFunction · 0.52
TestNegotiateErrorFunction · 0.52
TestTransformErrorFunction · 0.52
TestErrorWithHeadersFunction · 0.52
TestDumpBodyErrorFunction · 0.52
TestConvertFunction · 0.52
TestConvertErrorFunction · 0.52
TestIfMatchFunction · 0.52