Skip to content

You're viewing documentation for a pre-release version. View the latest stable version

Type Method

invalidBody(reason:)

A part’s body could not be parsed.
static func invalidBody(reason: String) -> MultipartParserError

Parameters

reason

An explanation of why the body is invalid.

Return Value

An error instance.