Return with InvalidStateError if a Bluetooth id is not cached.

This commit is contained in:
zakorgyula 2016-10-06 14:47:06 +02:00
parent dae007fd16
commit 11dbb7120f
19 changed files with 28 additions and 66 deletions

View file

@ -289,6 +289,7 @@ impl From<BluetoothError> for Error {
BluetoothError::NotFound => Error::NotFound,
BluetoothError::NotSupported => Error::NotSupported,
BluetoothError::Security => Error::Security,
BluetoothError::InvalidState => Error::InvalidState,
}
}
}