0
0
mirror of https://github.com/Shchoholiev/shopping-assistant-api.git synced 2025-06-29 10:11:10 +00:00
shopping-assistant-api/ShoppingAssistantApi.Application/Exceptions/InvalidPhoneNumberException.cs
2023-09-22 23:02:20 +03:00

8 lines
286 B
C#

namespace ShoppingAssistantApi.Application.Exceptions;
public class InvalidPhoneNumberException : Exception
{
public InvalidPhoneNumberException() { }
public InvalidPhoneNumberException(string phone) : base(String.Format($"String {phone} can not be a phone number.")) { }
}