pulumi/sdk/python
Sean Gillespie 91c550f1e0
Send structured errors across RPC boundaries (#1072)
* Send structured errors across RPC boundaries

This brings us closer to gRPC best practices where we send structured
errors with error codes across RPC endpoints. The new "rpcerrors"
package can wrap errors from RPC endpoints, so RPC servers can attach
some additional context as to why a request failed.

* Code review feedback:

1. Rename rpcerrors -> rpcerror, better package name
2. Rename RPCError -> Error, RPCErrorCause -> ErrorCause, names
suggested by gometalinter to improve their package-qualified names
3. Fix import organization in rpcerror.go
2018-03-28 17:07:35 -07:00
..
cmd Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
lib Send structured errors across RPC boundaries (#1072) 2018-03-28 17:07:35 -07:00
pkg/version Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
.gitignore Reenable Pylint (#1024) 2018-03-09 15:11:37 -08:00
Makefile Publish proper pre-release PyPI packages 2018-03-19 18:18:25 -07:00
requirements.txt Prefer Python2 tools; fail-fast when wrong 2018-03-06 17:50:42 -08:00