-
Notifications
You must be signed in to change notification settings - Fork 4
/
405.txt
42 lines (29 loc) · 1.5 KB
/
405.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[105] [DFN[[RUBYB[エラー名]@en[error name]]]]は、[[例外]]が表す[[エラー]]の種類を表す
[CODE(IDL)@en[[[DOMString]]]] です。[[例外]]は、[[エラー名]]を持ちます。 [SRC[>>1]]
* 仕様書
[REFS[
- [1] [CITE[Web IDL (Second Edition)]] ([TIME[2015-05-27 01:29:33 +09:00]] 版) <http://heycam.github.io/webidl/#dfn-exception>
]REFS]
* 意味
[2] [[単純例外]]の[[エラー名]]は、[[例外]]の名前です [SRC[>>1]]。
[EG[
[3] [CODE(IDL)@en[[[TypeError]]]] の[[エラー名]]は、 [CODE[[[TypeError]]]]
です。
]EG]
[4] [CODE(IDL)@en[[[DOMException]]]] の[[エラー名]]は、
作成時に指定されたエラー名です。
* 一覧
[107] [[DOM]] [[API]] で用いられる[[エラー名]]の一覧は、 [[Web IDL]]
で定義されています [SRC[>>1]]。
;; [108] 次の [[JSON]] ファイルに[[機械可読]]な一覧があります。
[REFS[
- [CITE@en[data-web-defs/errors.txt at master · manakai/data-web-defs]] ([TIME[2014-08-21 12:04:35 +09:00]] 版) <https://github.com/manakai/data-web-defs/blob/master/doc/errors.txt>
]REFS]
;; [5] かつては [[DOM Standard]] で規定されていました。
[6] 次のものは、[[廃止]]されました。
[FIG(short list)[
- [CODE(DOMe)@en[PermissionDeniedError]]
]FIG]
[7] [CITE@en[Re-align DOMException objects with what is implemented (#378)]]
([[domenic]]著, [TIME[2017-07-03 03:33:16 +09:00]])
<https://github.com/heycam/webidl/commit/5c8eb310ef7a6bcb3c4813e9791212ee1624f2d3>