google / google/apitools

Better error messages on failing to parse a server response

Open
#25 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
157
Forks
131
PR merge metrics
No merged PRs in 30d

Description

Currently, failing to parse a response as the appropriate type from the server leads to somewhat incomprehensible error messages (usually related to type mismatches between a `dict` and a `str`).

Instead, we should provide something clearer, along the lines of `Could not parse response "{...}" as object of type .`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.