sharee.bike-App/LockItShared/Services/CopriLock/Exception/StateAwareException.cs

16 lines
420 B
C#
Raw Normal View History

2022-04-25 22:15:15 +02:00
using TINK.Model.Bikes.Bike.CopriLock;
namespace TINK.Services.CopriLock.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; }
}
}