From fccd6b4ca8ed7420f25f0c4298fde311bc1e09d0 Mon Sep 17 00:00:00 2001 From: crupest Date: Thu, 4 Jun 2020 00:18:50 +0800 Subject: refactor(front): Make codes lint-clean! --- Timeline/ClientApp/src/common.ts | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 Timeline/ClientApp/src/common.ts (limited to 'Timeline/ClientApp/src/common.ts') 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 {} -- cgit v1.2.3