From e4aec494c8851ff8c3692fa61147407958fd01d5 Mon Sep 17 00:00:00 2001 From: TekH Date: Wed, 10 Dec 2025 14:53:48 +0100 Subject: [PATCH] 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. --- .../Exceptions/DbModelConfigurationException.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/ReC.Infrastructure/Exceptions/DbModelConfigurationException.cs diff --git a/src/ReC.Infrastructure/Exceptions/DbModelConfigurationException.cs b/src/ReC.Infrastructure/Exceptions/DbModelConfigurationException.cs new file mode 100644 index 0000000..20cae2b --- /dev/null +++ b/src/ReC.Infrastructure/Exceptions/DbModelConfigurationException.cs @@ -0,0 +1,12 @@ +namespace ReC.Infrastructure.Exceptions; + +public class DbModelConfigurationException : Exception +{ + public DbModelConfigurationException(string message) : base(message) + { + } + + public DbModelConfigurationException() + { + } +} \ No newline at end of file