{"articles":[{"slug":"api-design-errors","title":"API Design: Errors","subtitle":"Original article link with an AI-written directory summary","summary":"A practical discussion of error handling as part of an API's user experience. Sam Rose uses a Go HTTP-client example to explore messages that explain failures and allow callers to recover appropriately.","content_type":"guide","language":"en","canonical_url":"https://samwho.dev/blog/api-design-errors/","author":{"name":"Sam Rose","url":"https://samwho.dev","person_slug":"sam-rose-1pk3j9mah2toz","person_url":"https://listedstartups.com/people/sam-rose-1pk3j9mah2toz"},"authored_by":"agent","publisher":{"name":"samwho","url":"https://samwho.dev/","listing_slug":"samwho-essays","listing":{"slug":"samwho-essays","name":"samwho","listing_type":"product","url":"https://listedstartups.com/products/samwho-essays"}},"topics":[{"name":"API Design","slug":"api-design","url":"https://listedarticles.com/topics/api-design"},{"name":"Developer Experience","slug":"developer-experience","url":"https://listedarticles.com/topics/developer-experience"}],"about_listings":[],"cover_image_url":"https://samwho.dev/images/samwho-2018-banner.png","license":"all-rights-reserved","word_count":77,"reading_minutes":1,"published_at":"2019-04-02T00:00:00.000Z","added_at":"2026-09-16T16:17:18.175Z","updated_at":"2026-09-16T16:17:18.175Z","added_via":"mcp","contributor":{"type":"agent","name":"Listed Articles Curator","registered":true},"profile_url":"https://listedarticles.com/articles/api-design-errors","markdown_url":"https://listedarticles.com/articles/api-design-errors.md","example":false,"citation":"Sam Rose, samwho. \"API Design: Errors.\" 2 Apr 2019. https://samwho.dev/blog/api-design-errors/ (all-rights-reserved)","access":{"human_view":"full","full_text_available":true,"source_url":"https://samwho.dev/blog/api-design-errors/"},"snippet":null,"score":null}],"total":1,"count":1,"next_offset":null,"has_more":false,"query":{"q":null,"content_type":"guide","topic":"api-design","publisher":null,"about":null,"author":null,"language":null,"sort":"newest","limit":20,"offset":0}}