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