web_sys/features/
gen_Exception.rs

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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#![allow(unused_imports)]
#![allow(clippy::all)]
use super::*;
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
extern "C" {
    # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = Exception , typescript_type = "Exception")]
    #[derive(Debug, Clone, PartialEq, Eq)]
    #[doc = "The `Exception` class."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Exception)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `Exception`*"]
    pub type Exception;
    # [wasm_bindgen (structural , method , getter , js_class = "Exception" , js_name = name)]
    #[doc = "Getter for the `name` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Exception/name)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `Exception`*"]
    pub fn name(this: &Exception) -> String;
    # [wasm_bindgen (structural , method , getter , js_class = "Exception" , js_name = message)]
    #[doc = "Getter for the `message` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Exception/message)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `Exception`*"]
    pub fn message(this: &Exception) -> String;
    # [wasm_bindgen (structural , method , getter , js_class = "Exception" , js_name = result)]
    #[doc = "Getter for the `result` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Exception/result)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `Exception`*"]
    pub fn result(this: &Exception) -> u32;
    # [wasm_bindgen (structural , method , getter , js_class = "Exception" , js_name = filename)]
    #[doc = "Getter for the `filename` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Exception/filename)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `Exception`*"]
    pub fn filename(this: &Exception) -> String;
    # [wasm_bindgen (structural , method , getter , js_class = "Exception" , js_name = lineNumber)]
    #[doc = "Getter for the `lineNumber` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Exception/lineNumber)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `Exception`*"]
    pub fn line_number(this: &Exception) -> u32;
    # [wasm_bindgen (structural , method , getter , js_class = "Exception" , js_name = columnNumber)]
    #[doc = "Getter for the `columnNumber` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Exception/columnNumber)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `Exception`*"]
    pub fn column_number(this: &Exception) -> u32;
    # [wasm_bindgen (structural , method , getter , js_class = "Exception" , js_name = data)]
    #[doc = "Getter for the `data` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Exception/data)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `Exception`*"]
    pub fn data(this: &Exception) -> Option<::js_sys::Object>;
    # [wasm_bindgen (structural , method , getter , js_class = "Exception" , js_name = stack)]
    #[doc = "Getter for the `stack` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Exception/stack)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `Exception`*"]
    pub fn stack(this: &Exception) -> String;
}