def build_error_response(msg, code=-1, status="error"):
    """Make Error Response based on the message and code"""
    return dict(status=status, success=False, result=dict(description=msg, code=code))