Rename exceptions in codedoc
This commit is contained in:
@@ -35,7 +35,7 @@ class BleDevice {
|
||||
///
|
||||
/// **Note**: The device must be connected before reading RSSI.
|
||||
///
|
||||
/// Throws [BleException] if:
|
||||
/// Throws [UniversalBleException] if:
|
||||
/// - The device is not connected
|
||||
/// - Reading RSSI fails
|
||||
Future<int> readRssi() => UniversalBle.readRssi(deviceId);
|
||||
|
||||
@@ -360,7 +360,7 @@ class UniversalBle {
|
||||
///
|
||||
/// **Note**: The device must be connected before reading RSSI.
|
||||
///
|
||||
/// Throws [BleException] if:
|
||||
/// Throws [UniversalBleException] if:
|
||||
/// - The device is not connected
|
||||
/// - Reading RSSI fails
|
||||
static Future<int> readRssi(
|
||||
|
||||
Reference in New Issue
Block a user