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

Method error

compiler/fory_compiler/frontend/proto/parser.py:87–89  ·  view source on GitHub ↗
(self, message: str)

Source from the content-addressed store, hash-verified

85 raise ParseError(message, token.line, token.column)
86
87 def error(self, message: str) -> ParseError:
88 token = self.current()
89 return ParseError(message, token.line, token.column)
90
91 def parse(self) -> ProtoSchema:
92 syntax = None

Callers 4

parseMethod · 0.95
parse_field_optionsMethod · 0.95
parse_serviceMethod · 0.95
parse_rpc_methodMethod · 0.95

Calls 2

currentMethod · 0.95
ParseErrorClass · 0.70

Tested by

no test coverage detected