docs: function Terror(code, message) {
      var msg;
      var original;
  
      this.code = code == null ? Terror.CODES.UNKNOWN_ERROR : code;
  
      if (isString(message)) {
          msg = message;
      } else {
          msg = this.constructor.MESSAGES[this.code];
  
          if (isError(message)) {
              original = message;
          }
      }
  
      this.data = {};
      this.message = msg;
      this.originalError = original;
      this._isTerror = true;
      this._isLogged = false;
  
      return captureStackTrace(this, this.constructor);
  }