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

git.mdns.eu/nextcloud/passwords-client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Exception/Http/ServiceUnavailableError.js')
-rw-r--r--src/Exception/Http/ServiceUnavailableError.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/Exception/Http/ServiceUnavailableError.js b/src/Exception/Http/ServiceUnavailableError.js
new file mode 100644
index 0000000..6b0d67b
--- /dev/null
+++ b/src/Exception/Http/ServiceUnavailableError.js
@@ -0,0 +1,18 @@
+import HttpError from './HttpError';
+
+export default class ServiceUnavailableError extends HttpError {
+
+ /**
+ * @returns {String}
+ */
+ get name() {
+ return 'ServiceUnavailableError';
+ }
+
+ /**
+ * @param {Response} response
+ */
+ constructor(response) {
+ super(response, 'Service Unavailable');
+ }
+} \ No newline at end of file