15 lines
		
	
	
		
			306 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			306 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| class ElementPlusError extends Error {
 | |
|   constructor(m) {
 | |
|     super(m);
 | |
|     this.name = "ElementPlusError";
 | |
|   }
 | |
| }
 | |
| function throwError(scope, m) {
 | |
|   throw new ElementPlusError(`[${scope}] ${m}`);
 | |
| }
 | |
| function debugWarn(scope, message) {
 | |
| }
 | |
| 
 | |
| export { debugWarn, throwError };
 | |
| //# sourceMappingURL=error.mjs.map
 |