Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/didip/tollbooth
/ Error
Method
Error
errors/errors.go:13–15 ·
view source on GitHub ↗
Error returns error message.
()
Source
from the content-addressed store, hash-verified
11
12
// Error returns error message.
13
func
(httperror *HTTPError) Error() string {
14
return
fmt.Sprintf(
"%v: %v"
, httperror.StatusCode, httperror.Message)
15
}
Callers
7
TestError
Function · 0.95
TestLimitByKeys
Function · 0.80
HTTPMiddleware
Function · 0.80
TestStringInSlice
Function · 0.80
TestLimitReached
Function · 0.80
TestFloatingLimitReached
Function · 0.80
TestLimitReachedWithCustomTokenBucketTTL
Function · 0.80
Calls
no outgoing calls
Tested by
6
TestError
Function · 0.76
TestLimitByKeys
Function · 0.64
TestStringInSlice
Function · 0.64
TestLimitReached
Function · 0.64
TestFloatingLimitReached
Function · 0.64
TestLimitReachedWithCustomTokenBucketTTL
Function · 0.64