MCPcopy
hub / github.com/formatjs/formatjs / onMsgError

Function onMsgError

packages/babel-plugin-formatjs/tests/index.test.ts:234–236  ·  view source on GitHub ↗
(_, error)

Source from the content-addressed store, hash-verified

232 const result = transformAndCheck('throwsFalse', {
233 throws: false,
234 onMsgError(_, error) {
235 errors.push(error)
236 },
237 })
238
239 expect(errors).toHaveLength(5)

Callers 3

handleErrorFunction · 0.85
visitorFunction · 0.85
processMessageObjectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected