docs: def begin(self, frame):
          """
          Handles BEGING command: Starts a new transaction.
          """
          if not frame.transaction:
              raise ProtocolError("Missing transaction for BEGIN command.")
  
          self.engine.transactions[frame.transaction] = []