Тесты красной зоны

This commit is contained in:
2025-02-26 23:19:10 +04:00
parent 46f94f62b9
commit fda7d01074
16 changed files with 3483 additions and 14 deletions

View File

@@ -0,0 +1,13 @@

namespace SmallSoftwareContracts.Exceptions;
public class ElementExistsException : Exception
{
public string ParamName { get; private set; }
public string ParamValue { get; private set; }
public ElementExistsException(string paramName, string paramValue) :
base($"There is already an element with value{paramValue} of parameter { paramName}")
{
ParamName = paramName;
ParamValue = paramValue;
}
}