sharee.bike-App/LockItShared/Services/BluetoothLock/Exception/CouldntCloseInconsistentStateExecption.cs
2021-05-13 17:07:16 +02:00

19 lines
548 B
C#

using TINK.Model.Bike.BluetoothLock;
using TINK.MultilingualResources;
namespace TINK.Services.BluetoothLock.Exception
{
public class CouldntCloseInconsistentStateExecption : StateAwareException
{
public CouldntCloseInconsistentStateExecption(LockingState state) :
base(
state,
state != LockingState.Unknown
? string.Format(Resources.ErrorCloseLockUnexpectedState, state)
: Resources.ErrorCloseLockUnknownPosition)
{
}
}
}