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

Method GetStatus

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

Source from the content-addressed store, hash-verified

147// to the client.
148type StatusError interface {
149 GetStatus() int
150 Error() string
151}
152

Callers 8

TestErrorAsFunction · 0.95
RegisterFunction · 0.95
WriteErrFunction · 0.65
TestErrorResponsesFunction · 0.65
TestIfMatchFunction · 0.65
TestIfNoneMatchFunction · 0.65
TestIfModifiedSinceFunction · 0.65
TestIfUnmodifiedSinceFunction · 0.65

Implementers 3

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

Calls

no outgoing calls

Tested by 6

TestErrorAsFunction · 0.76
TestErrorResponsesFunction · 0.52
TestIfMatchFunction · 0.52
TestIfNoneMatchFunction · 0.52
TestIfModifiedSinceFunction · 0.52
TestIfUnmodifiedSinceFunction · 0.52