MSP-7967 add error handling logic for try_lock

This commit is contained in:
Павел Комиссаров committed 2026-07-02 11:45:42 +03:00
1 parent 2a50f7d14f
commit 19b0d8f094
2 files changed
+37 -1

No files matched your search

+21
View File
@@ -86,6 +86,12 @@
"schema": {
"$ref": "#/definitions/domain.LockResponse"
}
},
"423": {
"description": "Locked",
"schema": {
"$ref": "#/definitions/apierrors.Error"
}
}
}
}
@@ -127,6 +133,21 @@
}
},
"definitions": {
"apierrors.Error": {
"type": "object",
"properties": {
"details": {
"type": "object",
"additionalProperties": {}
},
"errorCode": {
"type": "integer"
},
"errorMessage": {
"type": "string"
}
}
},
"domain.LockResponse": {
"type": "object",
"properties": {