The Agent Flattened Your Custom Error Type Into a Generic Error
The refactor looked clean. The agent took a module with three custom error classes — NotFoundError, ValidationError, RateLimitError — and replaced them with a single generic Error carrying a code stri
blogs.powerduck.com3 min read