Adding new error types may cause issues when listeners assume a fixed set of error types and don't handle arbitrary defaults. Fixing error handling in one case and improving documentation to make people aware of the issue. PiperOrigin-RevId: 236093265