This commit is contained in:
Zeeshaun
2026-03-24 15:28:37 -05:00
parent 9cc87337b8
commit 73d62efb39
58 changed files with 2952 additions and 0 deletions
@@ -0,0 +1,17 @@
using LCU.Api.Internal.FTPLib.Models.Enums;
using LCU.Api.Internal.FTPLib.Models;
namespace LCU.Api.Internal.FTP.Helpers;
public class FtpRequestResponseHelper
{
public static FtpRequestResponse ExceptionUpdateRequestResponse(FtpRequestResponse requestResponse,
FtpType ftpType,
string exception)
{
requestResponse.IsSuccessful = false;
requestResponse.MessageStack.Add($"Failure to execute ftp action. " +
$"FtpType: {ftpType}, " +
$"Exception: {exception} ");
return requestResponse;
}
}