<commit_before>﻿#region Copyright
// // -----------------------------------------------------------------------
// // <copyright company="cdmdotnet Limited">
// // 	Copyright cdmdotnet Limited. All rights reserved.
// // </copyright>
// // -----------------------------------------------------------------------
#endregion

using System;

namespace Cqrs.Domain.Exceptions
{
	public class DuplicateCreateCommandException : Exception
	{
		public DuplicateCreateCommandException(string message, Exception exception)
			: base(message, exception)
		{
		}

		public DuplicateCreateCommandException(Exception exception)
			: base("The operation resulted in a duplicate ", exception)
		{
		}
	}
}<commit_msg>Added a new constructor for the DuplicateCreateCommandException class<commit_after>﻿#region Copyright
// // -----------------------------------------------------------------------
// // <copyright company="cdmdotnet Limited">
// // 	Copyright cdmdotnet Limited. All rights reserved.
// // </copyright>
// // -----------------------------------------------------------------------
#endregion

using System;

namespace Cqrs.Domain.Exceptions
{
	public class DuplicateCreateCommandException : Exception
	{
		public DuplicateCreateCommandException(string message, Exception exception)
			: base(message, exception)
		{
		}

		public DuplicateCreateCommandException(Exception exception)
			: base("The operation resulted in a duplicate.", exception)
		{
		}

		public DuplicateCreateCommandException(Type commandType, Guid commandRsn, Exception exception)
			: base(string.Format("The operation resulted in a duplicate for a command of type '{0}' with Rsn '{1}'", commandType.FullName, commandRsn), exception)
		{
		}
	}
}
{'fraction_non_alphanumeric': 0.2543655413271246, 'fraction_numerical': 0.0011641443538998836, 'mean_word_length': 2.1028880866425994, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4824055', 'n_tokens_mistral': 424, 'n_tokens_neox': 395, 'n_words': 108}