add InvalidConfigurationException

This commit is contained in:
jojo aquino 2025-03-24 09:11:37 +00:00
parent 7d82832e42
commit 5e8ccff93e
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,9 @@
namespace EnotaryoPH.Web.Common.Exceptions
{
public class InvalidConfigurationException : Exception
{
public InvalidConfigurationException(string configurationName, object value) : base($"Invalid value '{value}' for configuration '{configurationName}'.")
{
}
}
}

View File

@ -1,4 +1,5 @@
global using EnotaryoPH.Data.Constants;
global using EnotaryoPH.Web.Common.Exceptions;
global using EnotaryoPH.Web.Common.Extensions;
global using EnotaryoPH.Web.Common.Helpers;
global using EnotaryoPH.Web.Common.Services;