main repo

This commit is contained in:
Basilosaurusrex
2025-11-24 18:09:40 +01:00
parent b636ee5e70
commit f027651f9b
34146 changed files with 4436636 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
/**
* Create error handler for renderers.
* Tolerate dynamic server errors during prerendering so console
* isn't spammed with unactionable errors
*/
export declare function createErrorHandler({
/**
* Used for debugging
*/
_source, dev, isNextExport, errorLogger, capturedErrors, allCapturedErrors, }: {
_source: string;
dev?: boolean;
isNextExport?: boolean;
errorLogger?: (err: any) => Promise<void>;
capturedErrors: Error[];
allCapturedErrors?: Error[];
}): (err: any) => string;