2025-02-20 16:10:09 +03:00
|
|
|
using System;
|
|
|
|
|
using mROA.Abstract;
|
2025-02-17 23:19:54 +03:00
|
|
|
using mROA.Implementation.Frontend;
|
2025-02-12 12:34:54 +03:00
|
|
|
|
2025-02-20 16:10:09 +03:00
|
|
|
namespace mROA.Implementation.CommandExecution
|
2025-02-12 12:34:54 +03:00
|
|
|
{
|
2025-02-20 16:10:09 +03:00
|
|
|
public class ExceptionCommandExecution : ICommandExecution
|
2025-02-17 23:19:54 +03:00
|
|
|
{
|
2025-02-20 16:10:09 +03:00
|
|
|
public Guid Id { get; set; }
|
|
|
|
|
public int ClientId { get; set; }
|
|
|
|
|
public int CommandId { get; set; }
|
|
|
|
|
public string Exception { get; set; }
|
|
|
|
|
|
|
|
|
|
public RemoteException GetException()
|
|
|
|
|
{
|
|
|
|
|
return new RemoteException(Exception) { CallRequestId = Id };
|
|
|
|
|
}
|
2025-02-17 23:19:54 +03:00
|
|
|
}
|
2025-02-12 12:34:54 +03:00
|
|
|
}
|