Skip to content

ConnectionError

Error Type to represent connection based Errors

swift
enum ConnectionError

Enumeration Cases

connectionRefused(reasons:)

swift
case connectionRefused(reasons: [FlakePropertyProtocol])

Connection was refused by the router, details might be in the provided parameter

general(_😃

swift
case general(Error)

A general error without better context

notConnected

swift
case notConnected

An actions was triggered that needs an active connection

protocolError(_😃

swift
case protocolError(ProtocolError)

A received message did not comply with the protocol.

reconnectNotPossible

swift
case reconnectNotPossible

A reconnect was triggerd without first opening the connection

unsuccessfullReply(_😃

swift
case unsuccessfullReply(MessageResult)

Connection failed with an unexpected Message Result

Default Implementations

Error-Implementations