Module taskcat.exceptions
Expand source code
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
class InvalidActionError (expression)
-
Exception raised for error when invalid action is supplied
Attributes
expression – input expression in which the error occurred
Expand source code
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
- TaskCatException
- builtins.Exception
- builtins.BaseException
class TaskCatException (*args, **kwargs)
-
Raised when taskcat experiences a fatal error
Expand source code
class TaskCatException(Exception): """Raised when taskcat experiences a fatal error"""
Ancestors
- builtins.Exception
- builtins.BaseException
Subclasses
- InvalidActionError
- taskcat._s3_stage.S3BucketCreatorException