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:
parent
66559107e1
commit
6644675831
1 changed files with 3 additions and 2 deletions
|
@ -43,8 +43,9 @@ module ActionView
|
|||
end
|
||||
|
||||
class Template
|
||||
# The Template::Error exception is raised when the compilation of the template fails. This exception then gathers a
|
||||
# bunch of intimate details and uses it to report a very precise exception message.
|
||||
# The Template::Error exception is raised when the compilation or rendering of the template
|
||||
# fails. This exception then gathers a bunch of intimate details and uses it to report a
|
||||
# precise exception message.
|
||||
class Error < ActionViewError #:nodoc:
|
||||
SOURCE_CODE_RADIUS = 3
|
||||
|
||||
|
|
Loading…
Reference in a new issue