def METHOD_NAME(func_details: LambdaFunction, event: Dict, error):
    dlq_arn = (func_details.dead_letter_config or {}).get("TargetArn")
    source_arn = func_details.id
    _send_to_dead_letter_queue(source_arn, dlq_arn, event, error)