Skip to content

Commit 7cefd31

Browse files
authored
add CustomErrorMessage to CodecServerSpec (#69)
1 parent 35fff51 commit 7cefd31

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.5.0
1+
v0.5.1

temporal/api/cloud/namespace/v1/message.proto

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,21 @@ message CodecServerSpec {
6363
bool pass_access_token = 2;
6464
// Whether to include cross-origin credentials.
6565
bool include_cross_origin_credentials = 3;
66+
// A custom error message to display for remote codec server errors.
67+
// temporal:versioning:min_version=v0.5.1
68+
CustomErrorMessage custom_error_message = 4;
69+
70+
message CustomErrorMessage {
71+
// The error message to display by default for any remote codec server errors.
72+
ErrorMessage default = 1;
73+
74+
message ErrorMessage {
75+
// A message to display.
76+
string message = 1;
77+
// A link that is displayed along side the configured message.
78+
string link = 2;
79+
}
80+
}
6681
}
6782

6883
message LifecycleSpec {

0 commit comments

Comments
 (0)