Skip to content

Commit 62ece19

Browse files
committed
feat: import ExecutionResult and update error handling in aquila.action.proto
1 parent d31f5fa commit 62ece19

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

proto/aquila/aquila.action.proto

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ option ruby_package = "Tucana::Aquila";
55
package aquila;
66

77
import "shared.action_configuration.proto";
8+
import "shared.execution_result.proto";
89
import "shared.struct.proto";
910

1011
// Event that gets admitted by an action
@@ -37,19 +38,14 @@ message ExecutionRequest {
3738
int64 project_id = 4;
3839
}
3940

40-
message ActionRuntimeError {
41-
string code = 1;
42-
optional string description = 2;
43-
}
44-
4541
// Result from executed flows by an action
4642
message ExecutionResult {
4743
// Identifier of flow to execute
4844
string execution_identifier = 1;
4945
// Result of executed flow
5046
oneof result {
5147
shared.Value success = 2;
52-
ActionRuntimeError error = 3;
48+
shared.RuntimeError error = 3;
5349
}
5450
}
5551

0 commit comments

Comments
 (0)