MCPcopy Create free account
hub / github.com/apache/fory / ParseError

Class ParseError

compiler/fory_compiler/frontend/fdl/parser.py:126–133  ·  view source on GitHub ↗

Error during parsing.

Source from the content-addressed store, hash-verified

124
125
126class ParseError(Exception):
127 """Error during parsing."""
128
129 def __init__(self, message: str, line: int, column: int):
130 self.message = message
131 self.line = line
132 self.column = column
133 super().__init__(f"Line {line}, Column {column}: {message}")
134
135
136class Parser:

Callers 3

consumeMethod · 0.70
errorMethod · 0.70
parse_importMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected