=== 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:
@@ -8,12 +8,14 @@ namespace adas_core.Application.Exceptions;
|
||||
/// <remarks>
|
||||
/// This exception extends the base <see cref="Exception"/> class to provide a domain-specific error type for argument validation failures.
|
||||
/// </remarks>
|
||||
/// <!-- aidoc:v1 sig=434a4a5 -->
|
||||
public class CustomArgumentException : Exception
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="CustomArgumentException"/> class with the specified error message.
|
||||
/// </summary>
|
||||
/// <param name="message">The error message from the <see cref="HttpEnum.ErrorMessage"/> enumeration.</param>
|
||||
/// <!-- aidoc:v1 sig=9c6bb9a body=4448e1d -->
|
||||
public CustomArgumentException(HttpEnum.ErrorMessage message) : base(((int)message).ToString())
|
||||
{
|
||||
}
|
||||
@@ -22,6 +24,7 @@ public class CustomArgumentException : Exception
|
||||
/// Initializes a new instance of the <see cref="CustomArgumentException"/> class with a specified error message.
|
||||
/// </summary>
|
||||
/// <param name="message">The error message that describes the reason for the exception.</param>
|
||||
/// <!-- aidoc:v1 sig=cee336d body=4448e1d -->
|
||||
public CustomArgumentException(string message) : base(message)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user