code: def get_context_data(self, **kwargs):
          
          context = super(BaseEntrySearch, self).get_context_data(**kwargs)
          context.update({'error': self.error, 'pattern': self.pattern})
          return context
docs: Add error and pattern in context.