This is the fifth live coding session to accompany the PHP API Pro course. In this session I'll create a custom validation exception and use a ProblemDetail enum in order to format a 422 unprocessable content error response which contains details of the errors plus hypermedia which allows the client to research the problem further.
You can check out the full course (and grab a BIG DISCOUNT on release) here:
https://www.garyclarke.tech/p/php-api...
Here is the repo for the API:
https://github.com/GaryClarke/php-api...
🆓 Join garyclarke.tech for course DISCOUNTS and a FREE Docker + PHP course (worth $49)
https://www.garyclarke.tech
👇 Follow me on Social Media:
Twitter: / garyclarketech
Linkedin: / garyclarketech
💕Show support:
https://www.paypal.com/donate/?hosted...