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
+21
View File
@@ -0,0 +1,21 @@
//#region src/core/errors.d.ts
type StoreErrorCode =
/** Store was destroyed. */
'DESTROYED' |
/** No target is attached to the store. */
'NO_TARGET';
interface StoreErrorOptions {
cause?: unknown;
message?: string;
}
declare class StoreError extends Error {
readonly code: StoreErrorCode;
cause?: unknown;
constructor(code: StoreErrorCode, options?: StoreErrorOptions);
}
declare function isStoreError(error: unknown): error is StoreError;
declare function throwNoTargetError(): never;
declare function throwDestroyedError(): never;
//#endregion
export { StoreError, StoreErrorCode, StoreErrorOptions, isStoreError, throwDestroyedError, throwNoTargetError };
//# sourceMappingURL=errors.d.ts.map