-
Example is not a real case, just to ask my question. Error Response 1: ( fast-endpoints & Fluent validation) Error Response 2: (Argument Exception thrown from domain entity with extended ardalis GuardClauses) Two different error response here. I want error messages in the same format. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I found my answer. |
Beta Was this translation helpful? Give feedback.
I found my answer.
We can customize fast-endpoints's exception handler.
https://fast-endpoints.com/docs/exception-handler#customizing-the-exception-handler