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

Class ParseError

compiler/fory_compiler/frontend/proto/parser.py:36–43  ·  view source on GitHub ↗

Error during proto parsing.

Source from the content-addressed store, hash-verified

34
35
36class ParseError(Exception):
37 """Error during proto parsing."""
38
39 def __init__(self, message: str, line: int, column: int):
40 super().__init__(f"Line {line}, Column {column}: {message}")
41 self.message = message
42 self.line = line
43 self.column = column
44
45
46class Parser:

Callers 5

consumeMethod · 0.70
errorMethod · 0.70
parse_oneof_fieldMethod · 0.70
parse_fieldMethod · 0.70
parse_option_valueMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected