| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 25 | public function renderVerbose(Throwable $t, ServerRequestInterface $request = null): string |
||
| 26 | { |
||
| 27 | $out = '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>'; |
||
| 28 | $out .= "<error>\n"; |
||
| 29 | $out .= $this->tag('type', get_class($t)); |
||
| 30 | $out .= $this->tag('message', $this->cdata($t->getMessage())); |
||
| 31 | $out .= $this->tag('code', $this->cdata((string) $t->getCode())); |
||
| 32 | $out .= $this->tag('file', $t->getFile()); |
||
| 33 | $out .= $this->tag('line', (string) $t->getLine()); |
||
| 34 | $out .= $this->tag('trace', $t->getTraceAsString()); |
||
| 35 | $out .= '</error>'; |
||
| 36 | return $out; |
||
| 37 | } |
||
| 49 |