Blog
Mert Özen's blog posts on software development, backend, frontend, and DevOps.
Series
2 posts found
#try-catch
Frontend
PART 06
JavaScript Error Handling: try/catch, Custom Error Classes and Error Chains with cause
We learn try/catch/finally and throw, the built-in error types, writing your own error class with extends Error, error chains with ES2022's cause, Error.isError (not in Safari yet) and showing errors to users properly.
3 Nov 2026
10 min
5
Frontend
PART 13
JavaScript JSON: JSON.stringify, JSON.parse, try/catch and Deep Copies
We learn JSON's syntax rules, indentation and replacers with JSON.stringify, which values get lost, JSON.parse and revivers, catching broken JSON with try/catch, and why structuredClone wins for deep copies.
3 Nov 2026
8 min
6