Unreleased
Generated from the docstrings of Tau 0.16.0-dev (commit c439c401) by scripts/api_docs.py in the Tau repository. Not the 0.15 API.
Errors¶
What the session and its store raise.
Names: BadRecord, BadReplay, Busy, Closed, Corrupt, CursorClosed, DuplicateCall, Exists, Leased, NoSuchCursor, NoSuchItem, NoSuchLabel, NoSuchNode, NotASession, NotInHook, NotPending, Poisoned, TooLarge, TraceError, Undecodable, Version, WrongAnswer
BadRecord¶
class BadRecord(ValueError)
A logged record that replay cannot apply.
BadReplay¶
class BadReplay(ValueError)
Replay data that is not the text of a JSON object, or a replay with no provider name.
Busy¶
class Busy(RuntimeError)
A step on a cursor whose step is running.
Closed¶
class Closed(RuntimeError)
The session was closed.
Corrupt¶
class Corrupt(ValueError)
A damaged scratchpad file.
CursorClosed¶
class CursorClosed(NoSuchCursor)
A call on a cursor that was closed; its last node is in closed().
DuplicateCall¶
class DuplicateCall(ValueError)
A Results or Assistant body naming a call id twice (V2).
Exists¶
class Exists(FileExistsError)
A session already exists in that directory.
Leased¶
class Leased(OSError)
Another store holds the session's lease.
NoSuchCursor¶
class NoSuchCursor(LookupError)
A cursor id that is not open.
NoSuchItem¶
class NoSuchItem(LookupError)
An item id that is not in the scratchpad.
NoSuchLabel¶
class NoSuchLabel(LookupError)
A label that is not set.
NoSuchNode¶
class NoSuchNode(LookupError)
A node id that is not in the session.
NotASession¶
class NotASession(ValueError)
Not a τ log or scratchpad file.
NotInHook¶
class NotInHook(RuntimeError)
A hook's move, write, or auto-step change when no cursor hook is running on that cursor.
NotPending¶
class NotPending(LookupError)
A write that delivers an item not pending for that cursor.
Poisoned¶
class Poisoned(RuntimeError)
A call panicked while it held the session (that call raised PanicException); load the session again.
TooLarge¶
class TooLarge(ValueError)
A record of 4 GiB or more, which the log cannot hold; the session is closed, as after a failed save.
TraceError¶
class TraceError(RuntimeError)
A trace started while one runs, stopped while none runs, or that cannot be installed.
Undecodable¶
class Undecodable(ValueError)
A log record whose bytes are intact but do not decode; the log is not cut.
Version¶
class Version(ValueError)
A session file of a version this build does not read.
WrongAnswer¶
class WrongAnswer(ValueError)
An answer to no job; nothing changed.