def METHOD_NAME(self, reason, details=None):
    """
    Explicitly fails the workflow.
    :param reason: concise error description.
    :type  reason: str.
    :param details: optional longer error description.
    :type  details: str.
    """
    pass