=== 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 is typically used to signal that a request or entity was understood but could not be processed, similar to the semantics of an HTTP 422 (Unprocessable Entity) response.
|
||||
/// </remarks>
|
||||
/// <!-- aidoc:v1 sig=70bdc1a -->
|
||||
public class UnprocessableEntityException : Exception
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="UnprocessableEntityException"/> class with a specified error message enum.
|
||||
/// </summary>
|
||||
/// <param name="message">The error message enum containing the error code.</param>
|
||||
/// <!-- aidoc:v1 sig=c2da948 body=4448e1d -->
|
||||
public UnprocessableEntityException(HttpEnum.ErrorMessage message) : base(((int)message).ToString())
|
||||
{
|
||||
}
|
||||
@@ -22,6 +24,7 @@ public class UnprocessableEntityException : Exception
|
||||
/// Initializes a new instance of the <see cref="UnprocessableEntityException"/> class with a specified error message.
|
||||
/// </summary>
|
||||
/// <param name="message">The message that describes the error.</param>
|
||||
/// <!-- aidoc:v1 sig=cc0f943 body=4448e1d -->
|
||||
public UnprocessableEntityException(string message) : base(message)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user