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

19 lines
545 B
C#
Raw Normal View History

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

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