Remove unused exceptions and redundant pass statements
Change-Id: Id2bd0775e965f0c0680226a867931de189ef2b00
This commit is contained in:
parent
ca59d7f874
commit
5b7ea47824
|
@ -16,29 +16,16 @@
|
|||
"""Exception definitions"""
|
||||
|
||||
|
||||
class UnsupportedVersion(Exception):
|
||||
"""The user is trying to use an unsupported version of the API"""
|
||||
pass
|
||||
|
||||
|
||||
class Timeout(Exception):
|
||||
"""An operation timed out"""
|
||||
pass
|
||||
|
||||
|
||||
class UnknownService(Exception):
|
||||
"""The service type is unknown"""
|
||||
pass
|
||||
|
||||
|
||||
class NotFound(Exception):
|
||||
"""Resource not found"""
|
||||
pass
|
||||
|
||||
|
||||
class DeploymentError(RuntimeError):
|
||||
"""Deployment failed"""
|
||||
pass
|
||||
|
||||
|
||||
class RootUserExecution(Exception):
|
||||
|
@ -47,7 +34,6 @@ class RootUserExecution(Exception):
|
|||
|
||||
class InvalidConfiguration(ValueError):
|
||||
"""Invalid parameters were specified for the deployment"""
|
||||
pass
|
||||
|
||||
|
||||
class IntrospectionError(RuntimeError):
|
||||
|
|
Loading…
Reference in New Issue