summaryrefslogtreecommitdiff
path: root/includes/external/matrix/node_modules/matrix-js-sdk/lib/errors.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'includes/external/matrix/node_modules/matrix-js-sdk/lib/errors.d.ts')
-rw-r--r--includes/external/matrix/node_modules/matrix-js-sdk/lib/errors.d.ts22
1 files changed, 22 insertions, 0 deletions
diff --git a/includes/external/matrix/node_modules/matrix-js-sdk/lib/errors.d.ts b/includes/external/matrix/node_modules/matrix-js-sdk/lib/errors.d.ts
new file mode 100644
index 0000000..3cc9ee1
--- /dev/null
+++ b/includes/external/matrix/node_modules/matrix-js-sdk/lib/errors.d.ts
@@ -0,0 +1,22 @@
+export declare enum InvalidStoreState {
+ ToggledLazyLoading = 0
+}
+export declare class InvalidStoreError extends Error {
+ readonly reason: InvalidStoreState;
+ readonly value: any;
+ static TOGGLED_LAZY_LOADING: InvalidStoreState;
+ constructor(reason: InvalidStoreState, value: any);
+}
+export declare enum InvalidCryptoStoreState {
+ TooNew = "TOO_NEW"
+}
+export declare class InvalidCryptoStoreError extends Error {
+ readonly reason: InvalidCryptoStoreState;
+ static TOO_NEW: InvalidCryptoStoreState;
+ constructor(reason: InvalidCryptoStoreState);
+}
+export declare class KeySignatureUploadError extends Error {
+ readonly value: any;
+ constructor(message: string, value: any);
+}
+//# sourceMappingURL=errors.d.ts.map \ No newline at end of file