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
| 23 | |
| 24 | |
| 25 | class 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 | |
| 39 | class RunFinishedError(RuntimeError): |
no outgoing calls
no test coverage detected
searching dependent graphs…