def generate500response(error: str) -> dict:
    """ A function that generates a '500-Internal Server Error' message and returns it as a dict """
    return {
        "status": 500,
        "message": "Internal Server Error",
        "error": error
    }