aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/src/common.ts
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-06-04 00:18:50 +0800
committercrupest <crupest@outlook.com>2020-06-04 00:18:50 +0800
commit3aa87cc26fd58836b82c067b58a47e08e30a7784 (patch)
treeba9cf1918d210896ab10bed484a8ddf7c7935e0c /Timeline/ClientApp/src/common.ts
parent1e90a93049cd57098608de72f02bfaabfadd32b6 (diff)
downloadtimeline-3aa87cc26fd58836b82c067b58a47e08e30a7784.tar.gz
timeline-3aa87cc26fd58836b82c067b58a47e08e30a7784.tar.bz2
timeline-3aa87cc26fd58836b82c067b58a47e08e30a7784.zip
refactor(front): Make codes lint-clean!
Diffstat (limited to 'Timeline/ClientApp/src/common.ts')
-rw-r--r--Timeline/ClientApp/src/common.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/Timeline/ClientApp/src/common.ts b/Timeline/ClientApp/src/common.ts
new file mode 100644
index 00000000..673f1c98
--- /dev/null
+++ b/Timeline/ClientApp/src/common.ts
@@ -0,0 +1,4 @@
+// This error is thrown when ui goes wrong with bad logic.
+// Such as am variable should not be null, but it does.
+// This error should never occur. If it does, it indicates there is some logic bug in codes.
+export class UiLogicError extends Error {}