(message: String)
| 1563 | } |
| 1564 | |
| 1565 | fn exception_result(message: String) -> Value { |
| 1566 | json!({ |
| 1567 | "result": { |
| 1568 | "type": "undefined", |
| 1569 | "description": "undefined", |
| 1570 | }, |
| 1571 | "exceptionDetails": { |
| 1572 | "text": message, |
| 1573 | "exception": { |
| 1574 | "type": "string", |
| 1575 | "value": message, |
| 1576 | "description": message, |
| 1577 | }, |
| 1578 | }, |
| 1579 | }) |
| 1580 | } |
| 1581 | |
| 1582 | impl DomCache { |
| 1583 | async fn refresh(&mut self, query: DevToolsQuery) -> Result<(), String> { |