mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-06 02:56:32 +01:00
19 lines
545 B
C#
19 lines
545 B
C#
|
|
|||
|
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)
|
|||
|
{
|
|||
|
}
|
|||
|
}
|
|||
|
}
|