This commit is contained in:
Zeeshaun
2026-04-27 10:50:07 -05:00
parent 8b528fa00b
commit b5edd55420
141 changed files with 9602 additions and 0 deletions
@@ -0,0 +1,16 @@
using LCU.Library.Internal.FileOperationsModels.Models;
namespace LCU.Api.Internal.FileOperations.Services;
public static class RequestResponseHelper
{
public static RequestResponse ExceptionUpdateRequestResponse(RequestResponse requestResponse,
FileOperationType fileOperationType,
string exception)
{
requestResponse.IsSuccessful = false;
requestResponse.MessageStack.Add($"Failure to execute file action. " +
$"FileOperationType: {fileOperationType}, " +
$"Exception: {exception} ");
return requestResponse;
}
}