@remvst/game-navigation-core 1.8.1 → 1.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Resolver = exports.UserCancelledError = void 0;
|
|
4
4
|
class UserCancelledError extends Error {
|
|
5
|
-
constructor(message) {
|
|
6
|
-
super(message
|
|
5
|
+
constructor(message = 'User backed out and cancelled navigation flow') {
|
|
6
|
+
super(message);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
exports.UserCancelledError = UserCancelledError;
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Screen } from "../ui/screen";
|
|
2
2
|
|
|
3
3
|
export class UserCancelledError extends Error {
|
|
4
|
-
constructor(message: string) {
|
|
5
|
-
super(message
|
|
4
|
+
constructor(message: string = 'User backed out and cancelled navigation flow') {
|
|
5
|
+
super(message);
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
8
|
|