Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2021-03-14 12:06:12 +0300
committerdartcafe <github@dartcafe.de>2021-03-14 12:06:12 +0300
commit400902985d06f537fe0e138b924c7e6a8e9402ce (patch)
tree057b5d9240b1008e9bcc162907f9d7c668164b89 /src/js/Exceptions
parent8f1d0143569d20a16431399a008328ef4616b84e (diff)
enhanced error handling in watchPolls
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'src/js/Exceptions')
-rw-r--r--src/js/Exceptions/Exceptions.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/js/Exceptions/Exceptions.js b/src/js/Exceptions/Exceptions.js
new file mode 100644
index 00000000..17dd222b
--- /dev/null
+++ b/src/js/Exceptions/Exceptions.js
@@ -0,0 +1,5 @@
+const exception = function(message) {
+ this.message = message
+}
+
+export default exception