/** * @license MIT * * Copyright (c) 2025 Aiden Bai * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ //#region src/errors.d.ts declare class ReactGrabError extends Error { constructor(message: string, options?: ErrorOptions); } declare class RecoverableError extends ReactGrabError { constructor(message: string, cause: unknown); } declare class FreezeError extends ReactGrabError { constructor(cause: unknown); } declare class OpenFileError extends RecoverableError { readonly filePath: string; readonly lineNumber: number | undefined; constructor(filePath: string, lineNumber: number | undefined, cause: unknown); } declare class PluginSetupError extends RecoverableError { readonly pluginName: string; constructor(pluginName: string, cause: unknown); } //#endregion export { ReactGrabError as i, OpenFileError as n, PluginSetupError as r, FreezeError as t };