13 lines
286 B
C#
13 lines
286 B
C#
|
using System;
|
||
|
|
||
|
namespace CandyHouseBase.Exceptions;
|
||
|
|
||
|
public class ElementNotFoundException : Exception
|
||
|
{
|
||
|
public string Value { get; private set; }
|
||
|
|
||
|
public ElementNotFoundException(string value) : base($"Element not found at value = {value}")
|
||
|
{
|
||
|
Value = value;
|
||
|
}
|
||
|
}
|