code: def _defaultErrorHandler(varBinds, **context):
          
          errors = context.get('errors')
  
          if errors:
              err = errors[-1]
              raise err['error']
docs: Raise exception on any error if user callback is missing