MCPcopy Create free account
hub / github.com/Effect-TS/effect / invalidEvent

Function invalidEvent

packages/effect/src/encoding/Xml.ts:2458–2458  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

2456 new XmlError({ kind, message, line: undefined, column: undefined })
2457
2458const invalidEvent = (message: string) => positionless("InvalidEvent", message)
2459
2460const textSpecial = /[&<>\r]/
2461const attributeSpecials = /[&<"\t\n\r]/

Callers 7

pushMethod · 0.85
endMethod · 0.85
checkCharsFunction · 0.85
checkNameFunction · 0.85
checkAttributesMethod · 0.85
endMethod · 0.85
writeMethod · 0.85

Calls 1

positionlessFunction · 0.85

Tested by

no test coverage detected