From f01db9c2d734f93dc7f0a145d3f3c9845683d244 Mon Sep 17 00:00:00 2001 From: Developer 02 Date: Tue, 5 Aug 2025 19:36:44 +0200 Subject: [PATCH 1/2] =?UTF-8?q?feat(core):=20ForbiddenException=20hinzugef?= =?UTF-8?q?=C3=BCgt=20zur=20Behandlung=20von=20verbotenen=20Operationen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ForbiddenException.cs | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 DigitalData.Core.Exceptions/ForbiddenException.cs diff --git a/DigitalData.Core.Exceptions/ForbiddenException.cs b/DigitalData.Core.Exceptions/ForbiddenException.cs new file mode 100644 index 0000000..186d523 --- /dev/null +++ b/DigitalData.Core.Exceptions/ForbiddenException.cs @@ -0,0 +1,24 @@ +namespace DigitalData.Core.Exceptions; + +/// +/// Represents an exception thrown when an operation is forbidden. +/// Typically used to indicate lack of permission or access rights. +/// +public class ForbiddenException : Exception +{ + /// + /// Initializes a new instance of the class. + /// + public ForbiddenException() + { + } + + /// + /// Initializes a new instance of the class with a specified error message. + /// + /// The message that describes the error. + public ForbiddenException(string? message) + : base(message) + { + } +} From 9aa76734841b39697b5dc6be5d8db8b1077b1b06 Mon Sep 17 00:00:00 2001 From: Developer 02 Date: Tue, 5 Aug 2025 19:37:46 +0200 Subject: [PATCH 2/2] chore(Exceptions): Bump to 1.1.0 --- .../DigitalData.Core.Exceptions.csproj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/DigitalData.Core.Exceptions/DigitalData.Core.Exceptions.csproj b/DigitalData.Core.Exceptions/DigitalData.Core.Exceptions.csproj index fd3df43..a2a6ce1 100644 --- a/DigitalData.Core.Exceptions/DigitalData.Core.Exceptions.csproj +++ b/DigitalData.Core.Exceptions/DigitalData.Core.Exceptions.csproj @@ -17,9 +17,9 @@ http://git.dd:3000/AppStd/WebCoreModules.git False core_icon.png - 1.0.1 - 1.0.1 - 1.0.1 + 1.1.0 + 1.1.0 + 1.1.0