LANCommander/LANCommander.Server.ImportExport/Exceptions/ExportSkippedException.cs
Pat Hartl 6ec919d1be Separate import and export functionality
This refactor splits the import and export functionality out of the ImportContext and adds an ExportContext. This also introduced separate importer and exporter implementations.

Additionally, adding archive, save, scripts, and server files to the final export archive has been implemented at the exporter implementation for each instead of handling it in the context. This should be a good pattern if other files need to be added down the road.
2025-07-27 17:51:50 -05:00

17 lines
No EOL
468 B
C#

namespace LANCommander.Server.ImportExport.Exceptions;
public class ExportSkippedException<TRecord> : Exception where TRecord : class
{
public TRecord Record { get; set; }
public ExportSkippedException(TRecord record, string message) : base(message)
{
Record = record;
}
public ExportSkippedException(TRecord record, string message, Exception innerException) : base(message,
innerException)
{
Record = record;
}
}