use thiserror_no_std::Error;
#[derive(Debug, Error)]
pub enum Error {
#[error("SSID or password length exceeded the maximum allowed")]
CredentialLengthExceeded,
#[error("Hardware ID or secret length exceeded the maximum allowed")]
IdentityLengthExceeded,
#[error("Invalid Bluetooth device name or pairing key length")]
InvalidBluetoothDeviceInfo,
#[error("Bluetooth device list is full")]
DeviceListFull,
#[error("Index out of bounds")]
IndexOutOfBounds,
}