sharee.bike-App/LockItShared/Services/BluetoothLock/Exception/CouldntCloseInconsistentStateExecption.cs

19 lines
487 B
C#
Raw Normal View History

2021-05-13 17:07:16 +02:00

2022-08-30 15:42:25 +02:00
using TINK.Model.Bikes.BikeInfoNS.BluetoothLock;
2021-05-13 17:07:16 +02:00
using TINK.MultilingualResources;
namespace TINK.Services.BluetoothLock.Exception
{
2022-09-06 16:08:19 +02:00
public class CouldntCloseInconsistentStateExecption : StateAwareException
{
public CouldntCloseInconsistentStateExecption(LockingState state) :
base(
state,
state != LockingState.UnknownFromHardwareError
? string.Format(Resources.ErrorCloseLockUnexpectedState, state)
: Resources.ErrorCloseLockUnknownPosition)
{
}
}
2021-05-13 17:07:16 +02:00
}