Files

27 lines
658 B
C#
Raw Permalink Normal View History

2024-04-18 01:44:37 +02:00
using System;
using Wino.Core.Domain.Entities.Shared;
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
namespace Wino.Core.Domain.Exceptions;
public class ImapClientPoolException : Exception
2024-04-18 01:44:37 +02:00
{
public ImapClientPoolException()
{
}
2026-04-05 13:18:50 +02:00
public ImapClientPoolException(string message, CustomServerInformation customServerInformation) : base(message)
{
CustomServerInformation = customServerInformation;
}
2026-04-05 13:18:50 +02:00
public ImapClientPoolException(string message) : base(message)
{
}
2026-04-05 13:18:50 +02:00
public ImapClientPoolException(Exception innerException) : base(innerException.Message, innerException)
2024-04-18 01:44:37 +02:00
{
2025-02-16 11:43:30 +01:00
}
2025-02-16 11:54:23 +01:00
public CustomServerInformation CustomServerInformation { get; }
2024-04-18 01:44:37 +02:00
}