SendMessageException

Exception thrown when a message transmission fails over Bluetooth Low Energy (BLE).

This exception is triggered when the system encounters errors while attempting to send data to a connected BLE device. It provides specific error type classification to help diagnose and handle different failure scenarios in the message transmission process.

Parameters

message

A descriptive message explaining the error details.

Constructors

Link copied to clipboard
constructor(errorType: SendMessageException.Type, message: String)

Types

Link copied to clipboard

Enumeration of possible error types that can occur during message transmission.

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard

The specific type of error that occurred during message transmission.

Link copied to clipboard
open val message: String?