Files
klz-cables.com/.pnpm-store/v10/files/47/289045db3aa4480d99ef4136f04ca27c38c35f85ca53e95c7e9d67b1d27dfd3e3d5f79886b769185646bf56be535c222bbfbdd70628d46ec1773835aef3ed5
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

27 lines
957 B
Plaintext

import type { TFunction } from '@payloadcms/translations';
import type { LabelFunction, StaticLabel } from '../config/types.js';
import type { PayloadRequest } from '../types/index.js';
import { APIError } from './APIError.js';
export declare let ValidationErrorName: string;
export type ValidationFieldError = {
label?: LabelFunction | StaticLabel;
message: string;
path: string;
};
export declare class ValidationError extends APIError<{
collection?: string;
errors: ValidationFieldError[];
global?: string;
}> {
constructor(results: {
collection?: string;
errors: ValidationFieldError[];
global?: string;
id?: number | string;
/**
* req needs to be passed through (if you have one) in order to resolve label functions that may be part of the errors array
*/
req?: Partial<PayloadRequest>;
}, t?: TFunction);
}
//# sourceMappingURL=ValidationError.d.ts.map