Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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.
148
type
StatusError
interface
{
149
GetStatus() int
150
Error() string
151
}
152
Callers
8
TestErrorAs
Function · 0.95
Register
Function · 0.95
WriteErr
Function · 0.65
TestErrorResponses
Function · 0.65
TestIfMatch
Function · 0.65
TestIfNoneMatch
Function · 0.65
TestIfModifiedSince
Function · 0.65
TestIfUnmodifiedSince
Function · 0.65
Implementers
3
MyError
huma_test.go
ErrorModel
error.go
MyError
examples/custom-error/main.go
Calls
no outgoing calls
Tested by
6
TestErrorAs
Function · 0.76
TestErrorResponses
Function · 0.52
TestIfMatch
Function · 0.52
TestIfNoneMatch
Function · 0.52
TestIfModifiedSince
Function · 0.52
TestIfUnmodifiedSince
Function · 0.52