WebSocketError
public enum WebSocketError : Error
extension WebSocketError: CustomStringConvertible
An error enum used when throwing errors within KituraWebSocket.
-
An invalid opcode was received in a WebSocket frame
Declaration
Swift
case invalidOpCode(UInt8)
-
A frame was received that had an unmasked payload
Declaration
Swift
case unmaskedFrame
-
Generate a printable version of this enum.
Declaration
Swift
public var description: String { get }