pulumi/sdk/proto/go
Sean Gillespie 8b9e24cd85 Allow dynamic-provider to send structured errors
A critical part of the partial update protocol is to return a structured
error when a resource is successfully created, but fails to initialize.
This structured error contains the properties of the
partially-initialized resource, and instructs the engine to halt.

Most languages implement this by attaching "details" to the error, i.e.,
an arbitrary proto message attached to the error. The JavaScript
implementation is not mature enough to include all the facilities
required to use this, so here we must add a `Status` message, which
protobuf requires as part of its structure for returning details.
2018-07-02 13:32:23 -07:00
..
analyzer.pb.go Allow dynamic-provider to send structured errors 2018-07-02 13:32:23 -07:00
engine.pb.go Allow dynamic-provider to send structured errors 2018-07-02 13:32:23 -07:00
errors.pb.go Allow dynamic-provider to send structured errors 2018-07-02 13:32:23 -07:00
language.pb.go Allow dynamic-provider to send structured errors 2018-07-02 13:32:23 -07:00
plugin.pb.go Allow dynamic-provider to send structured errors 2018-07-02 13:32:23 -07:00
provider.pb.go Allow dynamic-provider to send structured errors 2018-07-02 13:32:23 -07:00
resource.pb.go Allow dynamic-provider to send structured errors 2018-07-02 13:32:23 -07:00