© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
8 replies
ghoulam

❔ confused about Error controller

Hi,
i was following a tutorial about building APIs and the tutor used a new controller named it ErrorsController and just inherited ControllerBase and whenever a problem happens with the service it automatically call the error endpoint while it wasn't specified anywhere i tried looking at the call stack but didn't get much of it.
Here is the code:
https://github.com/GhoulamMB/BuberBreakfast/blob/master/BuberBreakfast/Controllers/ErrorsController.cs
Thanks in advance.
GitHub
BuberBreakfast/ErrorsController.cs at master · GhoulamMB/BuberBreak...
Contribute to GhoulamMB/BuberBreakfast development by creating an account on GitHub.
BuberBreakfast/ErrorsController.cs at master · GhoulamMB/BuberBreak...
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ confused about classes
C#CC# / help
3y ago
Confused about if statements
C#CC# / help
2y ago
✅ Confused about Asynchronous Programming
C#CC# / help
3y ago
✅ Confused about publish options
C#CC# / help
3y ago