Skip to content

Commit 585164a

Browse files
server: Add UnavailableCommandException at ExceptionErrorCodeMap (#4926)
This PR proposes adding Exception UnavailableCommandException at the ExceptionErrorCodeMap
1 parent 5051fde commit 585164a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils/src/main/java/com/cloud/utils/exception/CSExceptionErrorCode.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ public class CSExceptionErrorCode {
7070
ExceptionErrorCodeMap.put("com.cloud.async.AsyncCommandQueued", 4540);
7171
ExceptionErrorCodeMap.put("com.cloud.exception.RequestLimitException", 4545);
7272
ExceptionErrorCodeMap.put("com.cloud.exception.StorageConflictException", 4550);
73+
ExceptionErrorCodeMap.put("com.cloud.exception.UnavailableCommandException", 4555);
7374

7475
// Have a special error code for ServerApiException when it is
7576
// thrown in a standalone manner when failing to detect any of the above

0 commit comments

Comments
 (0)