pulumi/sdk/nodejs/proto
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
..
analyzer_grpc_pb.js Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
analyzer_pb.js Implement more of the Python runtime 2018-02-24 08:58:34 -08:00
engine_grpc_pb.js Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
engine_pb.js Implement more of the Python runtime 2018-02-24 08:58:34 -08:00
errors_pb.js Send structured errors across RPC boundaries (#1072) 2018-03-28 17:07:35 -07:00
language_grpc_pb.js Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
language_pb.js Implement more of the Python runtime 2018-02-24 08:58:34 -08:00
languages_grpc_pb.js Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
languages_pb.js Implement more of the Python runtime 2018-02-24 08:58:34 -08:00
plugin_pb.js Implement more of the Python runtime 2018-02-24 08:58:34 -08:00
provider_grpc_pb.js Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
provider_pb.js Implement more of the Python runtime 2018-02-24 08:58:34 -08:00
resource_grpc_pb.js Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
resource_pb.js Implement more of the Python runtime 2018-02-24 08:58:34 -08:00