Preferrably you would know which errors can occur. Eg. By doing features 'contract first' and grilling PO and UX about edge cases and how it could fail 🙂
Or may be dump the whole error thing into some json object and send it to the log, and continue with what you want to do finally. Have another micro service clean this error dump and send to whatever reporting you might need ..
A lot of work to make TS happy...
yeah and avoid runtime errors
Preferrably you would know which errors can occur. Eg. By doing features 'contract first' and grilling PO and UX about edge cases and how it could fail 🙂
Thanks for this great tutorial
Great video. Keep up the good work :)
Please make a video for advanced users
Or may be dump the whole error thing into some json object and send it to the log, and continue with what you want to do finally. Have another micro service clean this error dump and send to whatever reporting you might need ..
Sounds cumbersome. No way thats the most elegant way of dealing with errors.
where can i copy that code
Too complex solution