docs: function BaseError(message) {
    if (message !== undefined) {
      defineProperty(this, "message", {
        configurable: true,
        value: message,
        writable: true,
      });
    }
  
    var cname = this.constructor.name;
    if (cname !== undefined && cname !== this.name) {
      defineProperty(this, "name", {
        configurable: true,
        value: cname,
        writable: true,
      });
    }
  
    captureStackTrace(this, this.constructor);
  }