diff options
Diffstat (limited to 'subprojects/frontend/src/utils/CancelledError.ts')
-rw-r--r-- | subprojects/frontend/src/utils/CancelledError.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/subprojects/frontend/src/utils/CancelledError.ts b/subprojects/frontend/src/utils/CancelledError.ts index 8d3e55d8..ee23676f 100644 --- a/subprojects/frontend/src/utils/CancelledError.ts +++ b/subprojects/frontend/src/utils/CancelledError.ts | |||
@@ -1,5 +1,5 @@ | |||
1 | export default class CancelledError extends Error { | 1 | export default class CancelledError extends Error { |
2 | constructor() { | 2 | constructor(message = 'Operation cancelled') { |
3 | super('Operation cancelled'); | 3 | super(message); |
4 | } | 4 | } |
5 | } | 5 | } |