...
*Note we might have to move these 'common' exceptions classes to the SPI just like we did with the common data objects
Issues & Decisions
# | Slogan | Remarks | Decision | Who &When |
---|---|---|---|---|
1 | Using different HTTP Response code (400 v 404) depending on type of operation, adding data/requesting data | It might make sense to use 404 Not Found in a get scenario (ie like #3 scenario in the table below) But this would be wrong in a create/add data scenario. The API throws the same Exception so the REST Impl would need additional code to handle this distinction | Use 400 Bad request in both scenario for the following reasons
| CPS Team Meeting 3 Dec |
Vertical slice view of error scenarios
...