full site update
This commit is contained in:
20
node_modules/astro/dist/content/loaders/errors.d.ts
generated
vendored
Normal file
20
node_modules/astro/dist/content/loaders/errors.d.ts
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
import type { ZodError } from 'zod';
|
||||
export declare class LiveCollectionError extends Error {
|
||||
readonly collection: string;
|
||||
readonly message: string;
|
||||
readonly cause?: Error | undefined;
|
||||
constructor(collection: string, message: string, cause?: Error | undefined);
|
||||
static is(error: unknown): error is LiveCollectionError;
|
||||
}
|
||||
export declare class LiveEntryNotFoundError extends LiveCollectionError {
|
||||
constructor(collection: string, entryFilter: string | Record<string, unknown>);
|
||||
static is(error: unknown): error is LiveEntryNotFoundError;
|
||||
}
|
||||
export declare class LiveCollectionValidationError extends LiveCollectionError {
|
||||
constructor(collection: string, entryId: string, error: ZodError);
|
||||
static is(error: unknown): error is LiveCollectionValidationError;
|
||||
}
|
||||
export declare class LiveCollectionCacheHintError extends LiveCollectionError {
|
||||
constructor(collection: string, entryId: string | undefined, error: ZodError);
|
||||
static is(error: unknown): error is LiveCollectionCacheHintError;
|
||||
}
|
Reference in New Issue
Block a user