sharee.bike-App/LockItShared/Services/BluetoothLock/Exception/StateAwareException.cs
2021-05-13 17:07:16 +02:00

15 lines
422 B
C#

using TINK.Model.Bike.BluetoothLock;
namespace TINK.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; }
}
}