2023-02-22 14:03:35 +01:00
|
|
|
using TINK.Model.Bikes.BikeInfoNS.BluetoothLock;
|
2021-05-13 17:07:16 +02:00
|
|
|
|
|
|
|
namespace TINK.Services.BluetoothLock.Exception
|
|
|
|
{
|
2023-08-31 12:20:06 +02:00
|
|
|
public class CouldntCloseBoltBlockedException : StateAwareException
|
2022-09-06 16:08:19 +02:00
|
|
|
{
|
2023-02-22 14:03:35 +01:00
|
|
|
/// <summary>
|
|
|
|
/// Constructs a bold blocked exception.
|
|
|
|
/// </summary>
|
|
|
|
/// <remarks>
|
|
|
|
/// Lock is closed in most cases, but this is not guaranteed according to haveltec.
|
|
|
|
/// </remarks>
|
|
|
|
/// <param name="state">State of the lock while/ after bold blocked event.</param>
|
|
|
|
/// <remarks>
|
|
|
|
/// </remarks>
|
2023-08-31 12:20:06 +02:00
|
|
|
public CouldntCloseBoltBlockedException(LockingState state = LockingState.UnknownFromHardwareError) : base(
|
2023-02-22 14:03:35 +01:00
|
|
|
state,
|
2023-08-31 12:20:06 +02:00
|
|
|
MultilingualResources.Resources.LockItExceptionCloseLockBoltBlocked)
|
2022-09-06 16:08:19 +02:00
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|
2021-05-13 17:07:16 +02:00
|
|
|
}
|