Commit 6874b64f authored by Almouhannad's avatar Almouhannad

(B) Fix invalid value exception issues

parent a7ffc35b
......@@ -3,10 +3,10 @@ using Domain.Primitives;
namespace Domain.Exceptions.InvalidValue;
public class InvalidValueDomainException<TEntity> : DomainException
public class InvalidValuesDomainException<TEntity> : DomainException
where TEntity : Entity
{
private InvalidValueDomainException(string message = $"Values entered for entity {nameof(TEntity)} are invalid")
public InvalidValuesDomainException(string message = $"Values entered for entity {nameof(TEntity)} are invalid")
: base(message)
{
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment