MCPcopy
hub / github.com/python-trio/trio / TrioInternalError

Class TrioInternalError

src/trio/_core/_exceptions.py:25–36  ·  view source on GitHub ↗

Raised by :func:`run` if we encounter a bug in Trio, or (possibly) a misuse of one of the low-level :mod:`trio.lowlevel` APIs. This should never happen! If you get this error, please file a bug. Unfortunately, if you get this error it also means that all bets are off – Trio doesn't

Source from the content-addressed store, hash-verified

23
24
25class TrioInternalError(Exception):
26 """Raised by :func:`run` if we encounter a bug in Trio, or (possibly) a
27 misuse of one of the low-level :mod:`trio.lowlevel` APIs.
28
29 This should never happen! If you get this error, please file a bug.
30
31 Unfortunately, if you get this error it also means that all bets are off –
32 Trio doesn't know what is going on and its normal invariants may be void.
33 (For example, we might have "lost track" of a task. Or lost track of all
34 tasks.) Again, though, this shouldn't happen.
35
36 """
37
38
39class RunFinishedError(RuntimeError):

Callers 6

startMethod · 0.85
_attempt_abortMethod · 0.85
start_guest_runFunction · 0.85
unrolled_runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…