Improve error handling of service registry create command.
Closes #1714
Verification Steps
Try creating a registry instance with same name when user has quota:
rhoas service-registry create --name test
It should throw the error: Instance with name "test" already exists
Try creating a registry instance when user has exhausted quota:
It should throw the error: Instance cannot be created. You have reached the limit of service registry instances per user.
Type of change
[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Improve error handling of service registry create command.
Closes #1714
Verification Steps
Try creating a registry instance with same name when user has quota:
It should throw the error:
Instance with name "test" already exists
Try creating a registry instance when user has exhausted quota: It should throw the error:
Instance cannot be created. You have reached the limit of service registry instances per user.
Type of change