1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Template::Error is also used if rendering fails.

This commit is contained in:
John Firebaugh 2010-09-24 14:06:47 -07:00
parent 66559107e1
commit 6644675831

View file

@ -43,8 +43,9 @@ module ActionView
end end
class Template class Template
# The Template::Error exception is raised when the compilation of the template fails. This exception then gathers a # The Template::Error exception is raised when the compilation or rendering of the template
# bunch of intimate details and uses it to report a very precise exception message. # fails. This exception then gathers a bunch of intimate details and uses it to report a
# precise exception message.
class Error < ActionViewError #:nodoc: class Error < ActionViewError #:nodoc:
SOURCE_CODE_RADIUS = 3 SOURCE_CODE_RADIUS = 3