def make_error(error: str, code: int) -> dict:
    """
    :param error: An error message
    :param code: An HTTP status code of an response
    :return: An dictionary with information
    """
    return dict(error=error, code=code)