forked from slavaxom9k/PIBD-23_Fomichev_V.S._MagicCarpet
16 lines
478 B
C#
16 lines
478 B
C#
using MagicCarpetContracts.Resources;
|
|
using Microsoft.Extensions.Localization;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MagicCarpetContracts.Exceptions;
|
|
|
|
internal class ElementNotFoundException(string value, IStringLocalizer<Messages> localizer) :
|
|
Exception(string.Format(localizer["ElementNotFoundExceptionMessage"], value))
|
|
{
|
|
public string Value { get; private set; } = value;
|
|
}
|