Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
msdsk30786y@C0D4
Oh yes, my favourite response from google dialogflow. Code 200. Response: { aLotOfCrap: 'yes', status: 'go to hell' } -
irene32706yIn JS and TS projects I care less about descriptive errors and more about uniqueness. For example if someone wrote the error “mackerel_fish” I can find it in the code easily because what are the chances of another similarly named error. It is searchable. If they call the error “x” I lose my cool. -
irene32706y@msdsk Oh you think this is bad you should see how Microsoft Dynamics API works. Everything is a post request that returns a 200. If a query isn’t successful there is a boolean flag included in the json response. You may get a bunch of the data but the flag is false you have no idea why it partially retrieved records. -
C0D4644176y@Hazarthim I'm used to dealing with apis that don't use header status codes correctly, soap is great for that.
But there is generally a {status: true/false} or similar to work with.
But when that flag gives false messages and you're relying on error messages, that's where I cringe working with these systems. -
@norboerg ganna start doing this to you 😂😂 seeing as nobody appreciates my validation messages!! (Hope I got the tag right!)
Related Rants

Most helpful error log ever...
This never gets old...
Report to who?
Ah yes, who doesn't like descriptive error messages?
rant
javascript
fuckyouthatswhy
wechat
error