Files
blazor-crm/ConfigBackEnd/Exceptions/MismatchException.cs
T
2026-07-21 13:59:38 +07:00

24 lines
549 B
C#

namespace Indotalent.ConfigBackEnd.Exceptions;
public class MismatchException : Exception
{
public MismatchException()
: base()
{
}
public MismatchException(string message)
: base(message)
{
}
public MismatchException(string message, Exception innerException)
: base(message, innerException)
{
}
public MismatchException(string name, object expected, object actual)
: base($"Mismatch detected for \"{name}\". Expected: {expected}, but received: {actual}.")
{
}
}