MCPcopy Create free account
hub / github.com/OpenListTeam/OpenList / syntaxError

Method syntaxError

server/webdav/internal/xml/xml.go:455–457  ·  view source on GitHub ↗

Creates a SyntaxError with the current line number.

(msg string)

Source from the content-addressed store, hash-verified

453
454// Creates a SyntaxError with the current line number.
455func (d *Decoder) syntaxError(msg string) error {
456 return &SyntaxError{Msg: msg, Line: d.line}
457}
458
459// Record that we are ending an element with the given name.
460// The name must match the record at the top of the stack,

Callers 6

popElementMethod · 0.95
rawTokenMethod · 0.95
attrvalMethod · 0.95
mustgetcMethod · 0.95
textMethod · 0.95
nameMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected