From 83f85ebb7b2ff54972bc940d1eeff2a02936e4ec Mon Sep 17 00:00:00 2001 From: Polianin Nikita Date: Sun, 21 Jan 2024 22:51:20 +0300 Subject: [PATCH] style: update text exception --- Application/Common/Exceptions/RecordExistException.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Common/Exceptions/RecordExistException.cs b/Application/Common/Exceptions/RecordExistException.cs index 0344876..41f64be 100644 --- a/Application/Common/Exceptions/RecordExistException.cs +++ b/Application/Common/Exceptions/RecordExistException.cs @@ -3,4 +3,4 @@ using System.Reflection; namespace Mirea.Api.DataAccess.Application.Common.Exceptions; -public class RecordExistException(MemberInfo entity, string name, object id) : Exception($"Entity \"{entity.Name}\" with \"{name}\" already exist with id \"{id}\"."); \ No newline at end of file +public class RecordExistException(MemberInfo entity, string name, object id) : Exception($"The entity \"{entity.Name}\" property \"{name}\" exists with id \"{id}\"."); \ No newline at end of file