aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/common.ts
blob: 1ca796c343af867b9d3bdba71d1aa7c185ee1d4d (plain)
1
2
3
4
5
6
7
8
9
// 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 type { I18nText } from "./i18n";
export type { I18nText as Text } from "./i18n";
export { c, convertI18nText } from "./i18n";
export { default as useC } from "./utilities/hooks/use-c";