| #![allow(unused_imports)] |
| 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; |
| } |