MCPcopy Create free account
hub / github.com/Effect-TS/effect / bodyTooLargeError

Function bodyTooLargeError

packages/effect/src/http/HttpServerRequest.ts:1025–1026  ·  view source on GitHub ↗
(request: HttpServerRequest, cause: BodyTooLargeError)

Source from the content-addressed store, hash-verified

1023 })
1024
1025const bodyTooLargeError = (request: HttpServerRequest, cause: BodyTooLargeError) =>
1026 new HttpServerError({ reason: new RequestParseError({ request, reason: "BodyTooLarge", cause }) })
1027
1028const formDataToParts = (formData: FormData): Array<Multipart.Part> => {
1029 const parts: Array<Multipart.Part> = []

Callers 3

readBytesMethod · 0.85
bytesFromWebFunction · 0.85
limitStreamFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected