Add DbModelConfigurationException class to exceptions
Introduced DbModelConfigurationException in the ReC.Infrastructure.Exceptions namespace. This custom exception inherits from Exception and includes both a message constructor and a parameterless constructor for flexible error handling related to DB model configuration issues.
This commit is contained in:
@@ -0,0 +1,12 @@
|
|||||||
|
namespace ReC.Infrastructure.Exceptions;
|
||||||
|
|
||||||
|
public class DbModelConfigurationException : Exception
|
||||||
|
{
|
||||||
|
public DbModelConfigurationException(string message) : base(message)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public DbModelConfigurationException()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user