def METHOD_NAME(self):
    import warnings
    warnings.warn(
        "error.error from azure exceptions is deprecated, just simply use 'error' once",
        DeprecationWarning,
    )
    return self