aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/common.ts
blob: 965f99336ed90cc2a0dfd0c2af081c3170d4783d (plain)
1
2
3
4
5
6
7
8
9
10
// This error is thrown when ui goes wrong with bad logic.
// Such as a 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 {}

export const highlightTimelineUsername = "crupest";

export type { I18nText } from "./i18n";
export { c, convertI18nText } from "./i18n";
export { default as useC } from "./utilities/hooks/use-c";