MCPcopy Index your code
hub / github.com/python/mypy / fail

Method fail

mypy/typeanal.py:1808–1809  ·  view source on GitHub ↗
(self, msg: str, ctx: Context, *, code: ErrorCode | None = None)

Source from the content-addressed store, hash-verified

1806 return typ.accept(self)
1807
1808 def fail(self, msg: str, ctx: Context, *, code: ErrorCode | None = None) -> None:
1809 self.fail_func(msg, ctx, code=code)
1810
1811 def note(self, msg: str, ctx: Context, *, code: ErrorCode | None = None) -> None:
1812 self.note_func(msg, ctx, code=code)

Calls

no outgoing calls

Tested by

no test coverage detected