Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | // AUTOMATICALLY GENERATED. DO NOT EDIT. |
4 | // Use `composer build` to regenerate. |
5 | |
6 | namespace Wikimedia\IDLeDOM; |
7 | |
8 | /** |
9 | * DOMException |
10 | * |
11 | * @see https://dom.spec.whatwg.org/#interface-domexception |
12 | * |
13 | * @property string $name |
14 | * @property string $message |
15 | * @property int $code |
16 | * @phan-forbid-undeclared-magic-properties |
17 | */ |
18 | interface DOMException { |
19 | |
20 | /** |
21 | * @return string |
22 | */ |
23 | public function getName(): string; |
24 | |
25 | /** |
26 | * @return string |
27 | */ |
28 | public function getMessage(); |
29 | |
30 | /** |
31 | * @return int |
32 | */ |
33 | public function getCode(); |
34 | |
35 | /** @var int */ |
36 | public const INDEX_SIZE_ERR = 1; |
37 | |
38 | /** @var int */ |
39 | public const DOMSTRING_SIZE_ERR = 2; |
40 | |
41 | /** @var int */ |
42 | public const HIERARCHY_REQUEST_ERR = 3; |
43 | |
44 | /** @var int */ |
45 | public const WRONG_DOCUMENT_ERR = 4; |
46 | |
47 | /** @var int */ |
48 | public const INVALID_CHARACTER_ERR = 5; |
49 | |
50 | /** @var int */ |
51 | public const NO_DATA_ALLOWED_ERR = 6; |
52 | |
53 | /** @var int */ |
54 | public const NO_MODIFICATION_ALLOWED_ERR = 7; |
55 | |
56 | /** @var int */ |
57 | public const NOT_FOUND_ERR = 8; |
58 | |
59 | /** @var int */ |
60 | public const NOT_SUPPORTED_ERR = 9; |
61 | |
62 | /** @var int */ |
63 | public const INUSE_ATTRIBUTE_ERR = 10; |
64 | |
65 | /** @var int */ |
66 | public const INVALID_STATE_ERR = 11; |
67 | |
68 | /** @var int */ |
69 | public const SYNTAX_ERR = 12; |
70 | |
71 | /** @var int */ |
72 | public const INVALID_MODIFICATION_ERR = 13; |
73 | |
74 | /** @var int */ |
75 | public const NAMESPACE_ERR = 14; |
76 | |
77 | /** @var int */ |
78 | public const INVALID_ACCESS_ERR = 15; |
79 | |
80 | /** @var int */ |
81 | public const VALIDATION_ERR = 16; |
82 | |
83 | /** @var int */ |
84 | public const TYPE_MISMATCH_ERR = 17; |
85 | |
86 | /** @var int */ |
87 | public const SECURITY_ERR = 18; |
88 | |
89 | /** @var int */ |
90 | public const NETWORK_ERR = 19; |
91 | |
92 | /** @var int */ |
93 | public const ABORT_ERR = 20; |
94 | |
95 | /** @var int */ |
96 | public const URL_MISMATCH_ERR = 21; |
97 | |
98 | /** @var int */ |
99 | public const QUOTA_EXCEEDED_ERR = 22; |
100 | |
101 | /** @var int */ |
102 | public const TIMEOUT_ERR = 23; |
103 | |
104 | /** @var int */ |
105 | public const INVALID_NODE_TYPE_ERR = 24; |
106 | |
107 | /** @var int */ |
108 | public const DATA_CLONE_ERR = 25; |
109 | |
110 | } |