UNPKG

uview-next

Version:

基于uView UI 2.0,110+高质量组件库,支持vue2和vue3,支持鸿蒙,支持多语言,搭配便捷工具助力,让开发更得心应手

30 lines (24 loc) 674 B
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};