2023-08-31 12:20:06 +02:00
|
|
|
|
2024-04-09 12:53:23 +02:00
|
|
|
using ShareeBike.Model.Bikes.BikeInfoNS.BluetoothLock;
|
|
|
|
using ShareeBike.MultilingualResources;
|
2021-05-13 17:07:16 +02:00
|
|
|
|
2024-04-09 12:53:23 +02:00
|
|
|
namespace ShareeBike.Services.BluetoothLock.Exception
|
2021-05-13 17:07:16 +02:00
|
|
|
{
|
2022-09-06 16:08:19 +02:00
|
|
|
public class CouldntOpenInconsistentStateExecption : StateAwareException
|
|
|
|
{
|
|
|
|
public CouldntOpenInconsistentStateExecption(LockingState state) :
|
|
|
|
base(
|
|
|
|
state,
|
2023-08-31 12:20:06 +02:00
|
|
|
string.Format(Resources.LockItExceptionOpenLockUnexpectedState, state))
|
2022-09-06 16:08:19 +02:00
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|
2021-05-13 17:07:16 +02:00
|
|
|
}
|