Anapher/Strive

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

Summary

Maintainability
A
35 mins
Test Coverage
using System;

namespace Strive.Core.Errors
{
    /// <summary>
    ///     Indicates that the request could not be carried out because of a conflict on the server.
    /// </summary>
    public record ConflictError<TErrorCode> : DomainError<TErrorCode> where TErrorCode : Enum
    {
        public ConflictError(string message, TErrorCode code) : base(ErrorType.Conflict, message, code)
        {
        }
    }
}