mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-12-23 15:46:29 +01:00
19 lines
548 B
C#
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)
|
|||
|
{
|
|||
|
}
|
|||
|
}
|
|||
|
}
|