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

Method _error

compiler/fory_compiler/ir/validator.py:91–92  ·  view source on GitHub ↗
(self, message: str, location: Optional[SourceLocation])

Source from the content-addressed store, hash-verified

89 return not self.errors
90
91 def _error(self, message: str, location: Optional[SourceLocation]) -> None:
92 self.errors.append(ValidationIssue(message, location, "error"))
93
94 def _warning(self, message: str, location: Optional[SourceLocation]) -> None:
95 self.warnings.append(ValidationIssue(message, location, "warning"))

Callers 13

assign_idMethod · 0.95
validate_messageMethod · 0.95
validate_enumMethod · 0.95
validate_unionMethod · 0.95
apply_message_fieldsMethod · 0.95
check_type_refMethod · 0.95
check_fieldMethod · 0.95
check_typeMethod · 0.95

Calls 2

ValidationIssueClass · 0.85
appendMethod · 0.45

Tested by

no test coverage detected