Skip to main content

Class: SiteNotFoundError

Defined in: electron/utils/database/interfaces.ts:98

Custom error for site not found scenarios.

Thrown when attempting to access a site that doesn't exist in the system.

Extends

Constructors

Constructor

new SiteNotFoundError(identifier: string): SiteNotFoundError

Defined in: electron/utils/database/interfaces.ts:104

Create a new SiteNotFoundError.

Parameters

identifier

string

The site identifier that was not found

Returns

SiteNotFoundError

Overrides

Error.constructor