Skip to content

Commit f2e9dd5

Browse files
committed
Adding Force to change password exception
1 parent e6467ea commit f2e9dd5

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
namespace ResponseCrafter.HttpExceptions;
2+
3+
public class ForceToChangePasswordException(
4+
string message = ForceToChangePasswordException.DefaultMessage)
5+
: ApiException(469, message)
6+
{
7+
private const string DefaultMessage = "password_change_required_to_proceed.";
8+
}

src/ResponseCrafter/ResponseCrafter.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
<Copyright>MIT</Copyright>
99
<PackageIcon>pandatech.png</PackageIcon>
1010
<PackageReadmeFile>Readme.md</PackageReadmeFile>
11-
<Version>5.1.8</Version>
11+
<Version>5.1.9</Version>
1212
<PackageId>Pandatech.ResponseCrafter</PackageId>
1313
<PackageTags>Pandatech, library, exception handler, exception, middleware, Api response</PackageTags>
1414
<Title>ResponseCrafter</Title>
1515
<Description>Handling exceptions, custom Dtos.</Description>
1616
<RepositoryUrl>https://github.com/PandaTechAM/be-lib-response-crafter</RepositoryUrl>
17-
<PackageReleaseNotes>Changing HubArgument to interface and fixing one comment</PackageReleaseNotes>
17+
<PackageReleaseNotes>Adding Force to change password exception</PackageReleaseNotes>
1818
</PropertyGroup>
1919

2020
<ItemGroup>

0 commit comments

Comments
 (0)