Module taskcat.exceptions
None
None
View Source
class TaskCatException(Exception):
"""Raised when taskcat experiences a fatal error"""
class InvalidActionError(TaskCatException):
"""Exception raised for error when invalid action is supplied
Attributes:
expression -- input expression in which the error occurred
"""
def __init__(self, expression):
self.expression = expression
super().__init__()
Classes
InvalidActionError
class InvalidActionError(
expression
)
Exception raised for error when invalid action is supplied
Attributes: expression -- input expression in which the error occurred
View Source
class InvalidActionError(TaskCatException):
"""Exception raised for error when invalid action is supplied
Attributes:
expression -- input expression in which the error occurred
"""
def __init__(self, expression):
self.expression = expression
super().__init__()
Ancestors (in MRO)
- taskcat.exceptions.TaskCatException
- builtins.Exception
- builtins.BaseException
Class variables
args
Methods
with_traceback
def with_traceback(
...
)
Exception.with_traceback(tb) --
set self.traceback to tb and return self.
TaskCatException
class TaskCatException(
/,
*args,
**kwargs
)
View Source
class TaskCatException(Exception):
"""Raised when taskcat experiences a fatal error"""
Ancestors (in MRO)
- builtins.Exception
- builtins.BaseException
Descendants
- taskcat.exceptions.InvalidActionError
- taskcat._s3_stage.S3BucketCreatorException
- taskcat._amiupdater.AMIUpdaterFatalException
- taskcat._amiupdater.AMIUpdaterCommitNeededException
Class variables
args
Methods
with_traceback
def with_traceback(
...
)
Exception.with_traceback(tb) --
set self.traceback to tb and return self.