1 #![allow(unused_imports)] 2 use super::*; 3 use wasm_bindgen::prelude::*; 4 #[wasm_bindgen] 5 extern "C" { 6 # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = Exception , typescript_type = "Exception")] 7 #[derive(Debug, Clone, PartialEq, Eq)] 8 #[doc = "The `Exception` class."] 9 #[doc = ""] 10 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Exception)"] 11 #[doc = ""] 12 #[doc = "*This API requires the following crate features to be activated: `Exception`*"] 13 pub type Exception; 14 # [wasm_bindgen (structural , method , getter , js_class = "Exception" , js_name = name)] 15 #[doc = "Getter for the `name` field of this object."] 16 #[doc = ""] 17 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Exception/name)"] 18 #[doc = ""] 19 #[doc = "*This API requires the following crate features to be activated: `Exception`*"] name(this: &Exception) -> String20 pub fn name(this: &Exception) -> String; 21 # [wasm_bindgen (structural , method , getter , js_class = "Exception" , js_name = message)] 22 #[doc = "Getter for the `message` field of this object."] 23 #[doc = ""] 24 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Exception/message)"] 25 #[doc = ""] 26 #[doc = "*This API requires the following crate features to be activated: `Exception`*"] message(this: &Exception) -> String27 pub fn message(this: &Exception) -> String; 28 # [wasm_bindgen (structural , method , getter , js_class = "Exception" , js_name = result)] 29 #[doc = "Getter for the `result` field of this object."] 30 #[doc = ""] 31 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Exception/result)"] 32 #[doc = ""] 33 #[doc = "*This API requires the following crate features to be activated: `Exception`*"] result(this: &Exception) -> u3234 pub fn result(this: &Exception) -> u32; 35 # [wasm_bindgen (structural , method , getter , js_class = "Exception" , js_name = filename)] 36 #[doc = "Getter for the `filename` field of this object."] 37 #[doc = ""] 38 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Exception/filename)"] 39 #[doc = ""] 40 #[doc = "*This API requires the following crate features to be activated: `Exception`*"] filename(this: &Exception) -> String41 pub fn filename(this: &Exception) -> String; 42 # [wasm_bindgen (structural , method , getter , js_class = "Exception" , js_name = lineNumber)] 43 #[doc = "Getter for the `lineNumber` field of this object."] 44 #[doc = ""] 45 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Exception/lineNumber)"] 46 #[doc = ""] 47 #[doc = "*This API requires the following crate features to be activated: `Exception`*"] line_number(this: &Exception) -> u3248 pub fn line_number(this: &Exception) -> u32; 49 # [wasm_bindgen (structural , method , getter , js_class = "Exception" , js_name = columnNumber)] 50 #[doc = "Getter for the `columnNumber` field of this object."] 51 #[doc = ""] 52 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Exception/columnNumber)"] 53 #[doc = ""] 54 #[doc = "*This API requires the following crate features to be activated: `Exception`*"] column_number(this: &Exception) -> u3255 pub fn column_number(this: &Exception) -> u32; 56 # [wasm_bindgen (structural , method , getter , js_class = "Exception" , js_name = data)] 57 #[doc = "Getter for the `data` field of this object."] 58 #[doc = ""] 59 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Exception/data)"] 60 #[doc = ""] 61 #[doc = "*This API requires the following crate features to be activated: `Exception`*"] data(this: &Exception) -> Option<::js_sys::Object>62 pub fn data(this: &Exception) -> Option<::js_sys::Object>; 63 # [wasm_bindgen (structural , method , getter , js_class = "Exception" , js_name = stack)] 64 #[doc = "Getter for the `stack` field of this object."] 65 #[doc = ""] 66 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Exception/stack)"] 67 #[doc = ""] 68 #[doc = "*This API requires the following crate features to be activated: `Exception`*"] stack(this: &Exception) -> String69 pub fn stack(this: &Exception) -> String; 70 } 71