deploy: v0.12 fix 存档key名

This commit is contained in:
2026-06-24 03:09:02 +00:00
parent 7a08d49fe3
commit e0a5281119
58743 changed files with 7297269 additions and 39505 deletions
+53
View File
@@ -0,0 +1,53 @@
'use strict';
/**
* Error helpers.
*
* @module error
*/
/**
* @param {string} s
* @return {Error}
*/
/* c8 ignore next */
const create = s => new Error(s);
/**
* @throws {Error}
* @return {never}
*/
/* c8 ignore next 3 */
const methodUnimplemented = () => {
throw create('Method unimplemented')
};
/**
* @throws {Error}
* @return {never}
*/
/* c8 ignore next 3 */
const unexpectedCase = () => {
throw create('Unexpected case')
};
/**
* @param {boolean} property
* @return {asserts property is true}
*/
const assert = property => { if (!property) throw create('Assert failed') };
var error = /*#__PURE__*/Object.freeze({
__proto__: null,
create: create,
methodUnimplemented: methodUnimplemented,
unexpectedCase: unexpectedCase,
assert: assert
});
exports.assert = assert;
exports.create = create;
exports.error = error;
exports.methodUnimplemented = methodUnimplemented;
exports.unexpectedCase = unexpectedCase;
//# sourceMappingURL=error-0c1f634f.cjs.map