=== Summary: 675 files | 7 generated | 484 fresh | 4605 untracked | 4268 adopted | 355 marked | 466 validated-ok | 2+0 stale (sig+body) | 0 skipped | 0 failed | elapsed 11:08:11.442 (40091.44s) ===
This commit is contained in:
@@ -5,12 +5,14 @@ namespace adas_core.Application.Exceptions;
|
||||
/// <summary>
|
||||
/// Represents an exception that is thrown when a conflict is encountered, such as a resource state mismatch or a duplicate entry.
|
||||
/// </summary>
|
||||
/// <!-- aidoc:v1 sig=5cdb505 -->
|
||||
public class ConflictException : Exception
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="ConflictException"/> class with a specified error message.
|
||||
/// </summary>
|
||||
/// <param name="message">The error message that describes the conflict.</param>
|
||||
/// <!-- aidoc:v1 sig=d19960d body=4448e1d -->
|
||||
public ConflictException(HttpEnum.ErrorMessage message) : base(((int)message).ToString())
|
||||
{
|
||||
}
|
||||
@@ -19,6 +21,7 @@ public class ConflictException : Exception
|
||||
/// Initializes a new instance of the <see cref="ConflictException"/> class with a specified error message.
|
||||
/// </summary>
|
||||
/// <param name="message">The message that describes the error.</param>
|
||||
/// <!-- aidoc:v1 sig=6025bd5 body=4448e1d -->
|
||||
public ConflictException(string message) : base(message)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user