Przejdź do głównej zawartości

Class: BrowserDataNotAvailableError

Thrown when the helper is called in an SSR context (Server Component, Route Handler, Node without JSDOM). Callers MUST guard with a typeof window check or call it only inside an event handler / useEffect.

Extends

  • Error

Constructors

Constructor

new BrowserDataNotAvailableError(): BrowserDataNotAvailableError

Returns

BrowserDataNotAvailableError

Overrides

Error.constructor