You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stanislav Molchanovskiy edited this page Nov 15, 2021
·
2 revisions
It is not always convenient to use with the IActionResult in NClient controllers, so you can use the HttpResponseException to return an error object and HTTP status code.
To use these exceptions you need to add NClient controllers in ASP.NET startup as follows: