|
|
@@ -1,21 +1,16 @@
|
|
1
|
1
|
/**
|
|
2
|
|
- * Enumeration with the errors for the connection.
|
|
3
|
|
- * @type {{string: string}}
|
|
|
2
|
+ * The errors for the connection.
|
|
4
|
3
|
*/
|
|
5
|
|
-var JitsiConnectionErrors = {
|
|
6
|
|
- /**
|
|
7
|
|
- * Indicates that a password is required in order to join the conference.
|
|
8
|
|
- */
|
|
9
|
|
- PASSWORD_REQUIRED: "connection.passwordRequired",
|
|
10
|
|
- /**
|
|
11
|
|
- * Indicates that a connection error occurred when trying to join a
|
|
12
|
|
- * conference.
|
|
13
|
|
- */
|
|
14
|
|
- CONNECTION_ERROR: "connection.connectionError",
|
|
15
|
|
- /**
|
|
16
|
|
- * Not specified errors.
|
|
17
|
|
- */
|
|
18
|
|
- OTHER_ERROR: "connection.otherError"
|
|
19
|
|
-};
|
|
20
|
4
|
|
|
21
|
|
-module.exports = JitsiConnectionErrors;
|
|
|
5
|
+/**
|
|
|
6
|
+ * Indicates that a connection error occurred when trying to join a conference.
|
|
|
7
|
+ */
|
|
|
8
|
+export const CONNECTION_ERROR = "connection.connectionError";
|
|
|
9
|
+/**
|
|
|
10
|
+ * Not specified errors.
|
|
|
11
|
+ */
|
|
|
12
|
+export const OTHER_ERROR = "connection.otherError";
|
|
|
13
|
+/**
|
|
|
14
|
+ * Indicates that a password is required in order to join the conference.
|
|
|
15
|
+ */
|
|
|
16
|
+export const PASSWORD_REQUIRED = "connection.passwordRequired";
|