don't load Catalyst::Exception in Utils.pm BEGIN, because some Scripts::* load Utils...
[catagits/Catalyst-Runtime.git] / t / lib / TestAppClassExceptionSimpleTest.pm
1 package TestAppClassExceptionSimpleTest::Exception;
2 use strict;
3 use warnings;
4
5 sub throw {}
6
7 #########
8
9 package TestAppClassExceptionSimpleTest;
10 use strict;
11 use warnings;
12
13 use Catalyst::Utils; #< some of the scripts use Catalyst::Utils before MyApp.pm
14
15 BEGIN { $Catalyst::Exception::CATALYST_EXCEPTION_CLASS = 'TestAppClassExceptionSimpleTest::Exception'; }
16
17 use Catalyst;
18
19 __PACKAGE__->setup;
20
21 1;