Compare commits

..

2 Commits

Author SHA1 Message Date
Developer 02
9aa7673484 chore(Exceptions): Bump to 1.1.0 2025-08-05 19:37:46 +02:00
Developer 02
f01db9c2d7 feat(core): ForbiddenException hinzugefügt zur Behandlung von verbotenen Operationen 2025-08-05 19:36:44 +02:00
2 changed files with 27 additions and 3 deletions

View File

@ -17,9 +17,9 @@
<RepositoryUrl>http://git.dd:3000/AppStd/WebCoreModules.git</RepositoryUrl>
<PackAsTool>False</PackAsTool>
<PackageIcon>core_icon.png</PackageIcon>
<Version>1.0.1</Version>
<AssemblyVersion>1.0.1</AssemblyVersion>
<FileVersion>1.0.1</FileVersion>
<Version>1.1.0</Version>
<AssemblyVersion>1.1.0</AssemblyVersion>
<FileVersion>1.1.0</FileVersion>
</PropertyGroup>
<ItemGroup>

View File

@ -0,0 +1,24 @@
namespace DigitalData.Core.Exceptions;
/// <summary>
/// Represents an exception thrown when an operation is forbidden.
/// Typically used to indicate lack of permission or access rights.
/// </summary>
public class ForbiddenException : Exception
{
/// <summary>
/// Initializes a new instance of the <see cref="ForbiddenException"/> class.
/// </summary>
public ForbiddenException()
{
}
/// <summary>
/// Initializes a new instance of the <see cref="ForbiddenException"/> class with a specified error message.
/// </summary>
/// <param name="message">The message that describes the error.</param>
public ForbiddenException(string? message)
: base(message)
{
}
}