UNPKG

@sovgut/state

Version:

<p align="center"> <b>A lightweight, type-safe, and reactive state management library for modern web applications</b> </p>

14 lines (13 loc) 416 B
/** * Error thrown when attempting to access a state key that doesn't exist in strict mode */ export declare class StateDoesNotExist extends Error { key: string; storage: string; /** * Creates a new StateDoesNotExist error * @param key - The key that was not found * @param storage - The storage type where the key was not found */ constructor(key: string, storage?: string); }