Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
HIAST-Clinics
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
almohanad.hafez
HIAST-Clinics
Commits
6874b64f
Commit
6874b64f
authored
Aug 16, 2024
by
Almouhannad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(B) Fix invalid value exception issues
parent
a7ffc35b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
InvalidValuesDomainException.cs
...n/Exceptions/InvalidValue/InvalidValuesDomainException.cs
+2
-2
No files found.
Clinics.Backend/Domain/Exceptions/InvalidValue/InvalidValueDomainException.cs
→
Clinics.Backend/Domain/Exceptions/InvalidValue/InvalidValue
s
DomainException.cs
View file @
6874b64f
...
...
@@ -3,10 +3,10 @@ using Domain.Primitives;
namespace
Domain.Exceptions.InvalidValue
;
public
class
InvalidValueDomainException
<
TEntity
>
:
DomainException
public
class
InvalidValue
s
DomainException
<
TEntity
>
:
DomainException
where
TEntity
:
Entity
{
p
rivate
InvalidValue
DomainException
(
string
message
=
$"Values entered for entity
{
nameof
(
TEntity
)}
are invalid"
)
p
ublic
InvalidValues
DomainException
(
string
message
=
$"Values entered for entity
{
nameof
(
TEntity
)}
are invalid"
)
:
base
(
message
)
{
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment