sharee.bike-App/LockIt.BusinessLogic/Services/BluetoothLock/Exception/StateAwareException.cs
2024-04-09 12:53:23 +02:00

16 lines
398 B
C#

using ShareeBike.Model.Bikes.BikeInfoNS.BluetoothLock;
namespace ShareeBike.Services.BluetoothLock.Exception
{
public abstract class StateAwareException : System.Exception
{
public StateAwareException(LockingState state, string description) : base(description)
{
State = state;
}
/// <summary> Holds the state reported by lock.</summary>
public LockingState State { get; }
}
}