#NEWLINE# def error_handler( self , view ) : #NEWLINE# #INDENT# "A decorator that set the error response handler.\n\n        It accepts one parameter `reason`::\n\n            @csrf.error_handler\n            def csrf_error(reason):\n                return render_template('error.html', reason=reason)\n\n        By default, it will return a 400 response.\n        " #NEWLINE# self . _error_response = view #NEWLINE# return view