aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/template/error.rb
diff options
context:
space:
mode:
authorJohn Firebaugh <john_firebaugh@bigfix.com>2010-09-24 14:06:47 -0700
committerJohn Firebaugh <john_firebaugh@bigfix.com>2010-10-04 11:12:57 -0700
commit6644675831a5a87c77f66697124d95ab37202509 (patch)
treef191d75758f33487149f30f083ef2ff85732aa71 /actionpack/lib/action_view/template/error.rb
parent66559107e15dbbff8af0542c9107a4413f3769ea (diff)
downloadrails-6644675831a5a87c77f66697124d95ab37202509.tar.gz
rails-6644675831a5a87c77f66697124d95ab37202509.tar.bz2
rails-6644675831a5a87c77f66697124d95ab37202509.zip
Template::Error is also used if rendering fails.
Diffstat (limited to 'actionpack/lib/action_view/template/error.rb')
-rw-r--r--actionpack/lib/action_view/template/error.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/template/error.rb b/actionpack/lib/action_view/template/error.rb
index 423e1e0bf5..ff256738a9 100644
--- a/actionpack/lib/action_view/template/error.rb
+++ b/actionpack/lib/action_view/template/error.rb
@@ -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