MCPcopy
hub / github.com/expressjs/multer / abortWithCode

Function abortWithCode

lib/make-middleware.js:106–108  ·  view source on GitHub ↗
(code, optionalField)

Source from the content-addressed store, hash-verified

104 }
105
106 function abortWithCode (code, optionalField) {
107 abortWithError(new MulterError(code, optionalField))
108 }
109
110 function handleRequestFailure (err) {
111 if (isDone) return

Callers 1

makeMiddlewareFunction · 0.85

Calls 1

abortWithErrorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…