Add location conflict error code
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user