1 | declare class FormidableError extends Error {
|
2 | internalCode: number;
|
3 | httpCode?: number | undefined;
|
4 | constructor(message: string, internalCode: number, httpCode?: number);
|
5 | }
|
6 |
|
7 | declare const errors: {
|
8 | FormidableError: typeof FormidableError;
|
9 | } & Record<
|
10 | | "missingPlugin"
|
11 | | "pluginFunction"
|
12 | | "aborted"
|
13 | | "noParser"
|
14 | | "uninitializedParser"
|
15 | | "filenameNotString"
|
16 | | "maxFieldsSizeExceeded"
|
17 | | "maxFieldsExceeded"
|
18 | | "smallerThanMinFileSize"
|
19 | | "biggerThanMaxFileSize"
|
20 | | "noEmptyFiles"
|
21 | | "missingContentType"
|
22 | | "malformedMultipart"
|
23 | | "missingMultipartBoundary"
|
24 | | "unknownTransferEncoding",
|
25 | number
|
26 | >;
|
27 |
|
28 | export = errors;
|