rama creada apartir de master en j
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
|
||||
namespace adas_core.Domain.Exceptions;
|
||||
|
||||
/// <summary>
|
||||
/// Represents an exception that aggregates one or more errors related to business logic or domain rule violations.
|
||||
/// </summary>
|
||||
public class BusinessException : AggregateException
|
||||
{
|
||||
public BusinessException(HttpStatusCode status, string message) : base($"{status}: {message}")
|
||||
|
||||
Reference in New Issue
Block a user