Skip to main content

Class: SiteNotFoundError

Defined in: electron/services/database/interfaces.ts:136

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/services/database/interfaces.ts:142

Create a new SiteNotFoundError.

Parameters

identifier

string

The site identifier that was not found

Returns

SiteNotFoundError

Overrides

Error.constructor