summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/Translate/webservices/TranslationWebServiceException.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/extensions/Translate/webservices/TranslationWebServiceException.php')
-rw-r--r--www/wiki/extensions/Translate/webservices/TranslationWebServiceException.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/www/wiki/extensions/Translate/webservices/TranslationWebServiceException.php b/www/wiki/extensions/Translate/webservices/TranslationWebServiceException.php
new file mode 100644
index 00000000..fa4c1240
--- /dev/null
+++ b/www/wiki/extensions/Translate/webservices/TranslationWebServiceException.php
@@ -0,0 +1,18 @@
+<?php
+/**
+ * Contains code related to web service support.
+ *
+ * @file
+ * @author Niklas Laxström
+ * @copyright Copyright © 2010-2013 Niklas Laxström
+ * @license GPL-2.0-or-later
+ */
+
+/**
+ * Used to signal a failure in an external web service. If the web service has
+ * too many failures in a short period, it is suspended to avoid wasting time.
+ * @since 2013-01-01
+ * @ingroup TranslationWebService
+ */
+class TranslationWebServiceException extends MWException {
+}