Compare commits
2 Commits
62e36f4459
...
9aa7673484
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9aa7673484 | ||
|
|
f01db9c2d7 |
@ -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>
|
||||
|
||||
24
DigitalData.Core.Exceptions/ForbiddenException.cs
Normal file
24
DigitalData.Core.Exceptions/ForbiddenException.cs
Normal 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)
|
||||
{
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user