Add location conflict error code

This commit is contained in:
Girish Ramakrishnan
2019-09-02 12:42:28 -07:00
parent b9ee127775
commit a2f8203a42
2 changed files with 2 additions and 3 deletions

View File

@@ -41,8 +41,8 @@ function toHttpError(appError) {
case AppsError.NOT_FOUND:
return new HttpError(404, appError);
case AppsError.ALREADY_EXISTS:
case AppsError.PORT_RESERVED:
case AppsError.PORT_CONFLICT:
case AppsError.LOCATION_CONFLICT:
case AppsError.BAD_STATE:
return new HttpError(409, appError);
case AppsError.BAD_FIELD: