Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve parameter related EC2 error codes
This patch replaces parameter/attribute related raises of EC2APIError with specific exceptions. * Introduce new MissingParameter exception with 'MissingParameter' ec2_code. * Introduce new InvalidAttribute exception which isn't a valid EC2 error code but it's needed nonetheless as the nova EC2 API isn't fully compatible. * Add 'InvalidParameterValue' ec2_code to existing InvalidParameterValue exception and use it where appropriate. Also add it to existing InvalidPortRange exception. Implements: blueprint ec2-error-codes Change-Id: I7820edfd9045fdc817a8538a754c9add20b68cf4
- Loading branch information
Jakub Ruzicka
committed
Aug 28, 2013
1 parent
1d6044f
commit 4f70288
Showing
4 changed files
with
78 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters