using ShareeBike.Model.Bikes.BikeInfoNS.BluetoothLock; using ShareeBike.MultilingualResources; namespace ShareeBike.Services.BluetoothLock.Exception { public class CouldntCloseInconsistentStateExecption : StateAwareException { public CouldntCloseInconsistentStateExecption(LockingState state) : base( state, state != LockingState.UnknownFromHardwareError ? string.Format(Resources.LockItExceptionCloseLockUnexpectedLockState, state) : Resources.LockItExceptionCloseLockUnknownPosition) { } } }