namespace PARR.Domain.DTOs.RabbitApi
{
    /// <summary>
    /// Ответ от API RabbitMQ
    /// </summary>
    public record RabbitApiResult
    {
        public bool IsSuccess { get; init; }

        public object? Response { get; init; }

        public Exception? Exception { get; init; }
    }
}
