Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| ParseException | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Phpdftk\Html\Exception; |
| 6 | |
| 7 | /** |
| 8 | * Raised when input HTML cannot be parsed. WHATWG mandates that the HTML |
| 9 | * parser never fails on real input — every byte sequence is parsed into some |
| 10 | * DOM, possibly via error-recovery rules. This exception is reserved for |
| 11 | * I/O-level failures (e.g. invalid encoding declaration) where recovery is |
| 12 | * not meaningful. |
| 13 | */ |
| 14 | final class ParseException extends HtmlException {} |