UNPKG

@osaedasia/oresume

Version:

A user-friendly library for generating complete Single Page Applications (SPAs)

31 lines (30 loc) 1.07 kB
import { SamError } from "@osaedasia/sam"; /** * Error thrown when the application root DOM element cannot be found. * Occurs when there's no div element with the required application ID attribute in the DOM. * @extends SamError */ export declare class AppRootElementNotFoundError extends SamError { } /** * Error thrown when attempting to use application features before initialization. * Indicates that the App.getInstance() method must be called first. * @extends SamError */ export declare class AppNotInitializedError extends SamError { } /** * Error thrown when encountering initialization-related issues. * Occurs in scenarios like duplicate page registration, missing body element, * or when no pages are defined during initialization. * @extends SamError */ export declare class AppInitializedError extends SamError { } /** * Error thrown when a requested page cannot be found in the application. * Occurs when attempting to access a page using an unregistered URL. * @extends SamError */ export declare class PageNotFoundError extends SamError { }