You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+1-8
Original file line number
Diff line number
Diff line change
@@ -325,14 +325,7 @@ Then you will receive:
325
325
326
326
## Limits
327
327
328
-
On limits (if some of them set) `then-busboy` will throw an error,
329
-
there are exposed classes that you can use to handle each kind of limit errors:
330
-
331
-
- FieldSizeLimitError - on field size limit reached
332
-
- FieldsLimitError - on fields limit reached
333
-
- FileSizeLimitError - on file size limit reached
334
-
- FilesLimitError - on files limit reached
335
-
- PartsLimitError - on parts (both files and fields) limit reached
328
+
When`limits` options are set, `then-busboy` may reject with HTTP 413 error if specified limit(s) exceeded. That will be a regular error from object [`http-errors`](https://npmjs.com/http-errors) package.
0 commit comments