This commit is contained in:
2025-10-27 17:39:18 -04:00
commit 31f723bea4
1579 changed files with 642409 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
namespace Prefab.Domain.Exceptions;
/// <summary>
/// Thrown when a concurrency conflict is detected.
/// </summary>
public class ConcurrencyException : DomainException
{
public ConcurrencyException() : base("The record you attempted to modify was changed by another process.") { }
}

View File

@@ -0,0 +1,6 @@
namespace Prefab.Domain.Exceptions;
/// <summary>
/// Root of all domainrule violations.
/// </summary>
public class DomainException(string message) : Exception(message);