summaryrefslogtreecommitdiffstats
path: root/vendor/web-sys/src/features/gen_Exception.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/web-sys/src/features/gen_Exception.rs')
-rw-r--r--vendor/web-sys/src/features/gen_Exception.rs70
1 files changed, 70 insertions, 0 deletions
diff --git a/vendor/web-sys/src/features/gen_Exception.rs b/vendor/web-sys/src/features/gen_Exception.rs
new file mode 100644
index 000000000..d38c6f66e
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_Exception.rs
@@ -0,0 +1,70 @@
+#![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;
+}