A JavaScript error observed in the browser. Attributes: message: The error message. source: Source file/URL where the error occurred (top stack frame). line_number: Line number of the error. column_number: Column number of the error. stack_trace: Formatte
| 140 | |
| 141 | @dataclass |
| 142 | class ScriptError: |
| 143 | """A JavaScript error observed in the browser. |
| 144 | |
| 145 | Attributes: |
| 146 | message: The error message. |
| 147 | source: Source file/URL where the error occurred (top stack frame). |
| 148 | line_number: Line number of the error. |
| 149 | column_number: Column number of the error. |
| 150 | stack_trace: Formatted stack trace, one ``at function (url:line:col)`` |
| 151 | line per frame. |
| 152 | timestamp: Time the entry was generated, in milliseconds since epoch. |
| 153 | """ |
| 154 | |
| 155 | message: str | None = None |
| 156 | source: str | None = None |
| 157 | line_number: int | None = None |
| 158 | column_number: int | None = None |
| 159 | stack_trace: str | None = None |
| 160 | timestamp: float | None = None |
| 161 | |
| 162 | |
| 163 | @dataclass |
no outgoing calls
no test coverage detected