#NEWLINE# def _handle_errors( self , errors ) : #NEWLINE# #INDENT# if ( not errors ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# self . _errors += [ errors ] #NEWLINE# if ( self . _query . on_error != 'continue' ) : #NEWLINE# #INDENT# raise ViewEngineError . pyexc ( 'Error while executing view.' , self . _errors ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# warn ( "Error encountered when executing view. Inspect 'errors' for more information" )