mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-15 06:36:38 +01:00
18 lines
508 B
C#
18 lines
508 B
C#
|
|
using TINK.Model.Bikes.BikeInfoNS.BluetoothLock;
|
|
using TINK.MultilingualResources;
|
|
|
|
namespace TINK.Services.BluetoothLock.Exception
|
|
{
|
|
public class CouldntCloseInconsistentStateExecption : StateAwareException
|
|
{
|
|
public CouldntCloseInconsistentStateExecption(LockingState state) :
|
|
base(
|
|
state,
|
|
state != LockingState.UnknownFromHardwareError
|
|
? string.Format(Resources.LockItExceptionCloseLockUnexpectedLockState, state)
|
|
: Resources.LockItExceptionCloseLockUnknownPosition)
|
|
{
|
|
}
|
|
}
|
|
}
|