Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TryCatchLearn/Overflow
/ triggerError
Function
triggerError
webapp/src/lib/actions/error-actions.ts:5–7 ·
view source on GitHub ↗
(code: number)
Source
from the content-addressed store, hash-verified
3
import
{fetchClient} from
"@/lib/fetchClient"
;
4
5
export
async
function
triggerError(code: number) {
6
return
await
fetchClient(`/test/errors?code=${code}`,
'GET'
)
7
}
Callers
1
onClick
Function · 0.90
Calls
1
fetchClient
Function · 0.90
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…