shopping-assistant-api/ShoppingAssistantApi.Application/Exceptions/InvalidEmailException.cs
2023-09-22 23:02:20 +03:00

9 lines
263 B
C#

namespace ShoppingAssistantApi.Application.Exceptions;
public class InvalidEmailException : Exception
{
public InvalidEmailException() { }
public InvalidEmailException(string email) : base(String.Format($"String {email} can not be an email.")) { }
}