import { AstroError } from 'astro/errors' export function throwPluginError(message: string, hint?: string): never { throw new AstroError( message, hint ?? `See the error report above for more informations.\n\nIf you believe this is a bug, please file an issue at https://github.com/HiDeoo/starlight-image-zoom/issues/new/choose`, ) }