mw-parser.errors
Display parse errors in a format which makes it easy for the user to see where the error occurred.
throw-parse-exception
(throw-parse-exception parser-error)
Construct a helpful error message from this parser-error
, and throw an exception with that message.