Files
2026-03-17 09:53:09 -05:00

14 lines
595 B
C#

using LCU.Library.Internal.IncentiveApiModels.Enums;
namespace LCU.API.Internal.Operations.IncentiveApi.Exceptions;
public class MissingProcessorRunHistoryException : ApplicationException
{
public MissingProcessorRunHistoryException(Process process) : base(
$"{process.ToString()} process does not have a ProcessorHistory entry and needs to be manually seeded.")
{
Log.Fatal(
$"{process.ToString()} does not have a ProcessorHistory entry and needs to be manually seeded. New Activities of this type will not be imported until a record is seeded.");
}
}