u/Quito246in r/dotnet • Recommends
On “Is there a modern best practice for return types?”
No the best practice is to have some global error handling and I would advise to use problem details construct.
Here is a nice video about how to use problem details in modern web api.
link to this video