Skip to content

Commit 50a5e5b

Browse files
fix(all): regenerated Error SDK(s) (#441)
Co-authored-by: app-services-ci <app-services-ci@users.noreply.github.com>
1 parent 7628b19 commit 50a5e5b

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.errors/errors_kafka_mgmt.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"kind": "ErrorList",
33
"page": 1,
4-
"size": 42,
5-
"total": 42,
4+
"size": 43,
5+
"total": 43,
66
"items": [
77
{
88
"id": "4",
@@ -81,6 +81,13 @@
8181
"code": "KAFKAS-MGMT-17",
8282
"reason": "Unable to read request body"
8383
},
84+
{
85+
"id": "18",
86+
"kind": "Error",
87+
"href": "/api/kafkas_mgmt/v1/errors/18",
88+
"code": "KAFKAS-MGMT-18",
89+
"reason": "Unable to perform this action, as the service is currently under maintenance"
90+
},
8491
{
8592
"id": "21",
8693
"kind": "Error",

packages/kafka-management-sdk/src/errors.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ export const APIErrorCodes = {
4646
/** Unable to read request body*/
4747
ERROR_17 : "KAFKAS-MGMT-17",
4848

49+
/** Unable to perform this action, as the service is currently under maintenance*/
50+
ERROR_18 : "KAFKAS-MGMT-18",
51+
4952
/** Bad request*/
5053
ERROR_21 : "KAFKAS-MGMT-21",
5154

0 commit comments

Comments
 (0)