Skip to content

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

Type Method

backingSequenceError(reason:)

The AsyncSequence supplying the message threw an error.
static func backingSequenceError(reason: String) -> MultipartParserError

Parameters

reason

A description of the error thrown by the backing sequence.

Return Value

An error instance.

Discussion

The underlying error is not preserved; its description is carried in reason.