@classmethod
    def _error(cls, message, value=None):

        cls._log(logging.ERROR, message, value=value)

    # -------------------------------------------------------------------------
Calls `frappe.naming.se_new_name` for parent and child docs.
dataset/ETHPy150Open sahana/eden/modules/s3log.py/S3Log._error--crossover with--dataset/ETHPy150Open frappe/frappe/frappe/model/document.py/Document.set_new_name