---
title: "Discussion on \"Using Result Filter and Exception Middleware (3/3)\" | Hashnode"
description: "Discussion on \"Using Result Filter and Exception Middleware (3/3)\". Create a custom Result Filter to handle model-validation errors and Exception Middleware for exceptions"
url: "https://hashnode.com/posts/using-result-filter-and-exception-middleware-33/64aaeb5109ab69f19f860f95"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Using Result Filter and Exception Middleware (3/3)](https://evolving-engineer.hashnode.dev/using-result-filter-and-exception-middleware-33?utm_source=hashnode&utm_medium=feed)

Create a custom Result Filter to handle model-validation errors and Exception Middleware for exceptions

Jul 9, 2023 · 6 min read · evolving-engineer.hashnode.dev  
Updated Jul 12, 2023  
Read the article

-   [#aspnet](https://hashnode.com/tag/aspnet)
-   [#web-api](https://hashnode.com/tag/web-api)
-   [#filter](https://hashnode.com/tag/filter)
-   [#middleware](https://hashnode.com/tag/middleware)
-   [#problemdetails](https://hashnode.com/tag/problemdetails)

## Written by

[Vedant Phougat](https://hashnode.com/@phougatv)

@phougatv · India

  
[View profile](https://hashnode.com/@phougatv)

Senior Software Engineer

Senior Software Engineer who likes writing clean, high performing and fully tested code in C# using .NET and ASP.NET Core.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
