build(store): build26 from 45504a2b

This commit is contained in:
publish
2026-08-05 18:57:36 +02:00
commit 3f9bdddf36
102 changed files with 2265 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
//#region src/core/errors.ts
var StoreError = class extends Error {
code;
cause;
constructor(code, options) {
super(options?.message ?? code);
this.name = "StoreError";
this.code = code;
this.cause = options?.cause;
}
};
function isStoreError(error) {
return error instanceof StoreError;
}
function throwNoTargetError() {
throw new StoreError("NO_TARGET");
}
function throwDestroyedError() {
throw new StoreError("DESTROYED");
}
//#endregion
export { StoreError, isStoreError, throwDestroyedError, throwNoTargetError };
//# sourceMappingURL=errors.js.map