We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bdc4111 commit 6e27b98Copy full SHA for 6e27b98
1 file changed
fern/products/sdks/overview/go/changelog/2026-03-26.mdx
@@ -0,0 +1,10 @@
1
+## 1.31.4
2
+**`(fix):`** Fix sub-package ErrorCodes maps being empty when errors are declared in a
3
+different namespace than the endpoints that reference them. The generator now
4
+groups errors by the service namespace that uses them (via endpoint error
5
+references) instead of by where they are declared. This ensures that
6
+sub-packages like `audio/` correctly get populated ErrorCodes with typed
7
+errors (e.g. BadRequestError, UnauthorizedError) instead of an empty map
8
+that would cause API errors to be returned as generic `*core.APIError`.
9
+
10
0 commit comments