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
commitfccd6b4ca8ed7420f25f0c4298fde311bc1e09d0 (patch)
tree787cda66f8997ba842601a261a36b6de95398675 /Timeline/ClientApp/src/common.ts
parent92e50c4a3ea250dc18c76bc8c29d86d486e63772 (diff)
downloadtimeline-fccd6b4ca8ed7420f25f0c4298fde311bc1e09d0.tar.gz
timeline-fccd6b4ca8ed7420f25f0c4298fde311bc1e09d0.tar.bz2
timeline-fccd6b4ca8ed7420f25f0c4298fde311bc1e09d0.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 {}