pulumi/proto/pulumi/errors.proto

39 lines
1.2 KiB
Protocol Buffer

// Copyright 2016-2018, Pulumi Corporation.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
syntax = "proto3";
package pulumirpc;
option go_package = "github.com/pulumi/pulumi/sdk/v3/proto/go;pulumirpc";
message ErrorCause {
string message = 1;
string stackTrace = 2;
}
// An error that can be returned from a component provider and includes details of the
// error, which can be multiple properties.
message InputPropertiesError {
// A single invalid input property.
message PropertyError {
// The path to the property that is invalid.
string property_path = 1;
// The reason the property is invalid.
string reason = 2;
}
// The list of invalid input properties.
repeated PropertyError errors = 1;
}