Anapher/Strive

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

Summary

Maintainability
A
35 mins
Test Coverage
using System;

namespace Strive.Core.Errors
{
    /// <summary>
    ///     Indicates that the server refuses to fulfill the request.
    /// </summary>
    public record ForbiddenError<TErrorCode> : DomainError<TErrorCode> where TErrorCode : Enum
    {
        public ForbiddenError(string message, TErrorCode code) : base(ErrorType.Forbidden, message, code)
        {
        }
    }
}