You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-28 05:03:59 +03:00
typo
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
// because of http://babeljs.io/docs/usage/caveats/#classes
|
// because of http://babeljs.io/docs/usage/caveats/#classes
|
||||||
function InvalidStoreError(reason, value) {
|
function InvalidStoreError(reason, value) {
|
||||||
const message = `Store is invalid because ${reason}, ` +
|
const message = `Store is invalid because ${reason}, ` +
|
||||||
`please stopthe client, delete all data and start the client again`;
|
`please stop the client, delete all data and start the client again`;
|
||||||
const instance = Reflect.construct(Error, [message]);
|
const instance = Reflect.construct(Error, [message]);
|
||||||
Reflect.setPrototypeOf(instance, Reflect.getPrototypeOf(this));
|
Reflect.setPrototypeOf(instance, Reflect.getPrototypeOf(this));
|
||||||
instance.reason = reason;
|
instance.reason = reason;
|
||||||
|
|||||||
Reference in New Issue
Block a user