Contents

init(code:reason:)

Initializes a QUIC application error with an error code and an optional reason.

Declaration

init(code: UInt64, reason: String? = nil)

Parameters

  • code:

    The error code.

  • reason:

    A string that describes the error.