minor fixes
[sgn.git] / lib / CXGN / Apache / Error.pm
blob376d1c95bc8180b195c5dc8e0f0588345ca835de
1 =head1 NAME
3 CXGN::Apache::Error
5 Deprecated. Do not use in new code.
7 =cut
9 package CXGN::Apache::Error;
10 use strict;
11 use warnings;
13 use CatalystX::GlobalContext '$c';
15 sub _context {
16 return $c if $c;
17 require SGN::Context;
18 return SGN::Context->instance;
20 sub notify {
21 _context()->throw( notify => 1, developer_message => join '', @_ );
25 ###
26 1;#do not remove
27 ###