add element not found exception

This commit is contained in:
mfnefd 2024-06-05 01:23:35 +04:00
parent 9c7ada2260
commit 57f90eaa82

View File

@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Contracts.Exceptions
{
public class ElementNotFoundException : Exception
{
public ElementNotFoundException() : base("Element not founded.")
{
}
public ElementNotFoundException(string message) : base(message)
{
}
public ElementNotFoundException(string message, Exception inner) : base(message, inner)
{
}
}
}