19 lines
515 B
C#
19 lines
515 B
C#
using DigitalData.TaskFlow.Domain.Enums;
|
|
|
|
namespace DigitalData.TaskFlow.Application.Common.Exceptions;
|
|
|
|
/// <summary>
|
|
/// Represents a 404 API exception.
|
|
/// </summary>
|
|
public sealed class NotFoundApiException : ApiException
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="NotFoundApiException"/> class.
|
|
/// </summary>
|
|
/// <param name="message">Response message.</param>
|
|
public NotFoundApiException(string message)
|
|
: base(404, MetaCode.NotFound, message)
|
|
{
|
|
}
|
|
}
|