ESPSessionError
public enum ESPSessionError : ESPError
‘ESPSessionError’ covers error cases that are generated throughout the life cycle of ESPDevice session right from the beginning of session establishment till termination.
-
Failed to initialise session.
Declaration
Swift
case sessionInitError
-
Session is not established with ESPDevice.
Declaration
Swift
case sessionNotEstablished
-
The attempt to send data to ESPDevice failed with underlying system error.
Declaration
Swift
case sendDataError(Error)
-
The attempt to join SoftAP network of ESPDevice failed.
Declaration
Swift
case softAPConnectionFailure
-
Security configuration for communication between ESPDevice and app does not match.
Declaration
Swift
case securityMismatch
-
The attempt to get version information from ESPDevice failed with underlying error.
Declaration
Swift
case versionInfoError(Error)
-
The attempt to connect with ESPDevice of bluetooth capability failed.
Declaration
Swift
case bleFailedToConnect
-
Encryption error
Declaration
Swift
case encryptionError
-
Proof of possession is not present
Declaration
Swift
case noPOP
-
Username is not present
Declaration
Swift
case noUsername
-
Declaration
Swift
public var description: String { get }
-
Declaration
Swift
public var code: Int { get }