MCPcopy Create free account
hub / github.com/effector/effector / fieldErrorMessage

Function fieldErrorMessage

src/effector/sample.ts:30–31  ·  view source on GitHub ↗
(method: string, field: string)

Source from the content-addressed store, hash-verified

28const sampleConfigFields = ['source', 'clock', 'target']
29
30const fieldErrorMessage = (method: string, field: string) =>
31 method + `: ${field} should be defined`
32
33export function validateSampleConfig(config: any, method: string) {
34 let atLeastOneFieldExists = false

Callers 2

validateSampleConfigFunction · 0.85
createSamplingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…