From 724a02a7e52702a5a57c2e5b7fe8230cc005c4dc Mon Sep 17 00:00:00 2001 From: ber clausen Date: Wed, 6 Nov 2013 21:12:18 -0200 Subject: [PATCH] Double rainbow word --- en/development/exceptions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/development/exceptions.rst b/en/development/exceptions.rst index d18b00089d..9e956c5ed2 100644 --- a/en/development/exceptions.rst +++ b/en/development/exceptions.rst @@ -241,7 +241,7 @@ in `SPL exceptions `_, ``Exception` itself, or :php:exc:`CakeException`. Application exceptions that extend Exception or the SPL exceptions will be treated as 500 error in production mode. :php:exc:`CakeException` is special in that all :php:exc:`CakeException` objects -are coerced into into either 500 or 404 errors depending on the code they use. +are coerced into either 500 or 404 errors depending on the code they use. When in development mode :php:exc:`CakeException` objects simply need a new template that matches the class name in order to provide useful information. If your application contained the following exception::