18 lines
396 B
C#
18 lines
396 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace PapaCarloContracts.Exceptions;
|
|
|
|
public class ElementNotFoundException : Exception
|
|
{
|
|
public string Value { get; private set; }
|
|
|
|
public ElementNotFoundException(string value) : base($"Element not found at value = {value}")
|
|
{
|
|
Value = value;
|
|
}
|
|
}
|