mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-12-22 15:06:26 +01:00
15 lines
398 B
C#
15 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; }
|
|
}
|
|
}
|