Blog
Mert Özen's blog posts on software development, backend, frontend, and DevOps.
Series
2 posts found
#error-handling
Backend
PART 18
Global Error Handling in ASP.NET Core: Exception Middleware and ProblemDetails
Starting from the real response of an unhandled exception on .NET 6, we move to UseExceptionHandler with an error controller, then to our own middleware that maps domain exceptions to 404/409/500 ProblemDetails.
4 Nov 2026
9 min
1
Frontend
PART 12
Error Handling in TypeScript: unknown in catch, Narrowing Errors and the Result Pattern
We look at why the catch variable is unknown, narrowing with instanceof Error, custom error classes, Promise pitfalls, and modeling errors with Result and discriminated unions.
3 Nov 2026
9 min
1