Skip to content
Permalink
Browse files

Alias commonly used ORM exception.

I had some tests fail in DebugKit because of this class rename. Alias it
in the short term so others don't have this pain maybe.
  • Loading branch information...
markstory committed Aug 31, 2014
1 parent bf33017 commit a6a2c895c354f8f0197dd2a465ed74f5ea5caeeb
Showing with 1 addition and 0 deletions.
  1. +1 −0 config/bootstrap.php
@@ -19,6 +19,7 @@
class_alias('Cake\Error\Debugger', 'Cake\Utility\Debugger');
class_alias('Cake\Core\Configure\Engine\PhpConfig', 'Cake\Configure\Engine\PhpConfig');
class_alias('Cake\Core\Configure\Engine\IniConfig', 'Cake\Configure\Engine\IniConfig');
class_alias('Cake\ORM\Exception\RecordNotFoundException', 'Cake\ORM\Error\RecordNotFoundException');
class_alias('Cake\Network\Exception\BadRequestException', 'Cake\Error\BadRequestException');
class_alias('Cake\Network\Exception\ForbiddenException', 'Cake\Error\ForbiddenException');
class_alias('Cake\Network\Exception\MethodNotAllowedException', 'Cake\Error\MethodNotAllowedException');

0 comments on commit a6a2c89

Please sign in to comment.
You can’t perform that action at this time.