def METHOD_NAME(self, history, reason, details=None):
    """
    Method called after the workflow failed.
    :param history:
    :type history: simpleflow.history.History
    :param reason: failure reason
    :type reason: str
    :param details:
    :type details: Optional[str]
    """
    pass