Anapher/Strive

View on GitHub
src/Services/ConferenceManagement/Strive.Core/Errors/NotFound.cs

Summary

Maintainability
A
35 mins
Test Coverage
using System;

namespace Strive.Core.Errors
{
    /// <summary>
    ///     Indicates that the requested resource does not exist on the server.
    /// </summary>
    public record NotFoundError<TErrorCode> : DomainError<TErrorCode> where TErrorCode : Enum
    {
        public NotFoundError(string message, TErrorCode code) : base(ErrorType.NotFound, message, code)
        {
        }
    }
}