MCPcopy Create free account
hub / github.com/formkit/formkit / warn

Function warn

packages/core/src/errors.ts:47–49  ·  view source on GitHub ↗
(code: number, data: any = {})

Source from the content-addressed store, hash-verified

45 * @public
46 */
47export function warn(code: number, data: any = {}): void {
48 warningHandler.dispatch({ code, data })
49}
50
51/**
52 * Emits an error. Generally should result in an exception.

Callers 11

getFunction · 0.90
setErrorsFunction · 0.90
clearErrorsFunction · 0.90
resetFunction · 0.90
evaluateFunction · 0.90
submitFormFunction · 0.90
$rootFunction · 0.90
radiosFunction · 0.90
getFunction · 0.90
decodeWarningsFunction · 0.85
createBundleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected