Anapher/Strive

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

Summary

Maintainability
A
0 mins
Test Coverage
using System;
using Strive.Core.Dto;

namespace Strive.Core.Errors
{
    public record DomainError<TCodeEnum> : Error where TCodeEnum : Enum
    {
        public DomainError(ErrorType errorType, string message, TCodeEnum code) : base(errorType.ToString(), message,
            code.ToString())
        {
        }
    }
}