AsperaError
class AsperaError
using Aspera.Transfer;
using System;
namespace Relativity.Transfer.Aspera
{
internal class AsperaError
{
public Type HandlerType { get; }
public AsperaEventSource AsperaEventSource { get; }
public TransferEvent AsperaEvent { get; }
public int ErrorCode { get; }
public string ErrorMessage { get; }
public AsperaError(Type handler, AsperaEventSource source, TransferEvent transferEvent, int code, string message)
{
HandlerType = handler;
AsperaEventSource = source;
AsperaEvent = transferEvent;
ErrorCode = code;
ErrorMessage = message;
}
}
}