Skip to content

FailureReport (Class)

A source-level report of why a debugged contract call failed: the failing statement, the inlined call stack, and the variables in scope per frame.

str() (or render()) formats the report the way the SilverScript CLI debugger prints it, including source context lines.

frames property

frames: list[FailureFrame]

The call stack at the failure, innermost frame first.

message property

message: str

Human-readable failure description (the script engine error).

__repr__

__repr__() -> str

__str__

__str__() -> str

render

render() -> str

Format the report for terminal display: failing source lines with context, plus each frame's variables.