mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-24 07:24:46 +00:00
chore: update frontend build for v1.1.81 [skip ci]
This commit is contained in:
20
web/admin-spa/node_modules/element-plus/es/utils/error.mjs
generated
vendored
Normal file
20
web/admin-spa/node_modules/element-plus/es/utils/error.mjs
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
import { isString } from '@vue/shared';
|
||||
|
||||
class ElementPlusError extends Error {
|
||||
constructor(m) {
|
||||
super(m);
|
||||
this.name = "ElementPlusError";
|
||||
}
|
||||
}
|
||||
function throwError(scope, m) {
|
||||
throw new ElementPlusError(`[${scope}] ${m}`);
|
||||
}
|
||||
function debugWarn(scope, message) {
|
||||
if (process.env.NODE_ENV !== "production") {
|
||||
const error = isString(scope) ? new ElementPlusError(`[${scope}] ${message}`) : scope;
|
||||
console.warn(error);
|
||||
}
|
||||
}
|
||||
|
||||
export { debugWarn, throwError };
|
||||
//# sourceMappingURL=error.mjs.map
|
||||
Reference in New Issue
Block a user