Commit 78d24a4
committed
feature #6927 Create InvalidEntityException to replace RuntimeException in EntityUpdater (Pierstoval)
This PR was merged into the 4.x branch.
Discussion
----------
Create InvalidEntityException to replace RuntimeException in EntityUpdater
Why? Because this would allow the EntityUpdater or another layer to catch this exception specifically, in order to handle validation errors differently than what EasyAdmin proposes.
This is minor, but it can have a huge impact on what I'm working on :)
Commits
-------
446672d Create InvalidEntityException to replace RuntimeException in EntityUpdaterFile tree
2 files changed
+16
-1
lines changed- src
- Exception
- Orm
2 files changed
+16
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | | - | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
0 commit comments