studiocms
Version:
Astro Native CMS for AstroDB. Built from the ground up by the Astro community.
20 lines (19 loc) • 643 B
TypeScript
import { AstroError } from 'astro/errors';
/**
* Represents an error specific to the StudioCMS SDK.
* This class extends the `AstroError` class to provide additional context
* and functionality for errors occurring within the StudioCMS SDK.
*
* @extends {AstroError}
*/
export declare class StudioCMSError extends AstroError {
name: string;
}
/**
* Represents an error specific to the core functionality of StudioCMS.
* This class extends the `StudioCMSError` class and overrides the `name` property
* to provide a more specific error name.
*/
export declare class StudioCMSCoreError extends StudioCMSError {
name: string;
}