(stack_trace: Any)
| 273 | |
| 274 | |
| 275 | def _stack_frames(stack_trace: Any) -> list[dict]: |
| 276 | if isinstance(stack_trace, dict): |
| 277 | frames = stack_trace.get("callFrames") |
| 278 | if isinstance(frames, list): |
| 279 | return [frame for frame in frames if isinstance(frame, dict)] |
| 280 | return [] |
| 281 | |
| 282 | |
| 283 | def _format_stack_trace(stack_trace: Any) -> str | None: |
no test coverage detected