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."); } }