MCPcopy 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

3import {fetchClient} from "@/lib/fetchClient";
4
5export async function triggerError(code: number) {
6 return await fetchClient(`/test/errors?code=${code}`, 'GET')
7}

Callers 1

onClickFunction · 0.90

Calls 1

fetchClientFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…