server: Add UnavailableCommandException at ExceptionErrorCodeMap (#4926)

This PR proposes adding Exception UnavailableCommandException at the ExceptionErrorCodeMap
This commit is contained in:
Gabriel Beims Bräscher 2021-04-21 04:25:14 -03:00 committed by GitHub
parent 5051fde952
commit 585164a540
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -70,6 +70,7 @@ public class CSExceptionErrorCode {
ExceptionErrorCodeMap.put("com.cloud.async.AsyncCommandQueued", 4540);
ExceptionErrorCodeMap.put("com.cloud.exception.RequestLimitException", 4545);
ExceptionErrorCodeMap.put("com.cloud.exception.StorageConflictException", 4550);
ExceptionErrorCodeMap.put("com.cloud.exception.UnavailableCommandException", 4555);
// Have a special error code for ServerApiException when it is
// thrown in a standalone manner when failing to detect any of the above