@cataract6545/tmui
Version:
tm-vuetify是一个新势力由主题驱动的UI组件库,相比其它优势大,组件全,设计趋势紧跟未来。具有主题生成,主题实时切换,暗黑实时切换,lottie动画,图表等新颖功能,tmui TMUI
30 lines (24 loc) • 708 B
JavaScript
class InvalidInputException extends Error {
constructor(symbology, input) {
super();
this.name = "InvalidInputException";
this.symbology = symbology;
this.input = input;
this.message = '"' + this.input + '" is not a valid input for ' + this.symbology;
}
}
class InvalidElementException extends Error {
constructor() {
super();
this.name = "InvalidElementException";
this.message = "Not supported type to render on";
}
}
class NoElementException extends Error {
constructor() {
super();
this.name = "NoElementException";
this.message = "No element to render on.";
}
}
export { InvalidInputException, InvalidElementException, NoElementException };