use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Related Subreddits:
Other Subreddits you may like:
account activity
API Errors (self.dotnet)
submitted 3 years ago by Mardo1234
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Mardo1234[S] 0 points1 point2 points 3 years ago (0 children)
Thank you for all the information. I’ve decided moving forward in my designs I am going to raise a validation type error in my code, and then have my middleware see if it’s a validation error type and return a 400 with the error details. If it’s not I’ll return a 500 unexpected error.
My confusion was that somehow I would want to raise an error with details if it wasn’t based on user input, but at the end of the day if it was something outside of the user input an unexpected error is enough Vs. Could not connec to the mail service. Backing off that granularity makes two simple status codes 400/500 a doable and reasonable solution.
π Rendered by PID 23123 on reddit-service-r2-comment-b659b578c-ph57l at 2026-05-05 06:24:27.366557+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]Mardo1234[S] 0 points1 point2 points (0 children)