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.
Initializes a QUIC application error with an error code and an optional reason.
init(code: UInt64, reason: String? = nil)The error code.
A string that describes the error.