MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / Error

Function Error

lib/matplotlib/_mathtext.py:1868–1873  ·  view source on GitHub ↗

Helper class to raise parser errors.

(msg: str)

Source from the content-addressed store, hash-verified

1866
1867
1868def Error(msg: str) -> ParserElement:
1869 """Helper class to raise parser errors."""
1870 def raise_error(s: str, loc: int, toks: ParseResults) -> T.Any:
1871 raise ParseFatalException(s, loc, msg)
1872
1873 return Empty().set_parse_action(raise_error)
1874
1875
1876class ParserState:

Callers 2

cmdFunction · 0.85
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…