Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
handleError
Function · 0.85
visitor
Function · 0.85
processMessageObject
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected