mirror of https://github.com/pulumi/pulumi.git
91c550f1e0
* 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 |
||
---|---|---|
.. | ||
go | ||
analyzer.proto | ||
engine.proto | ||
errors.proto | ||
generate.sh | ||
grpc_version.txt | ||
language.proto | ||
plugin.proto | ||
provider.proto | ||
resource.proto |