MCPcopy Index your code
hub / github.com/sezanzeb/input-remapper / MacroError

Class MacroError

inputremapper/configs/validation_errors.py:119–124  ·  view source on GitHub ↗

Macro syntax errors.

Source from the content-addressed store, hash-verified

117
118
119class MacroError(ValueError):
120 """Macro syntax errors."""
121
122 def __init__(self, symbol: Optional[str] = None, msg="Error while parsing a macro"):
123 self.symbol = symbol
124 super().__init__(msg)
125
126
127def pydantify(error: type):

Callers 13

_initialize_argumentMethod · 0.90
assert_is_symbolMethod · 0.90
_parse_raw_valueMethod · 0.90
_type_error_factoryMethod · 0.90
_count_bracketsMethod · 0.90
_parse_recurseMethod · 0.90
_validate_num_argsMethod · 0.90
handle_plus_syntaxMethod · 0.90
parseMethod · 0.90
__init__Method · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected