repo.or.cz
/
sgn.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge pull request #5205 from solgenomics/topic/generic_trial_upload
[sgn.git]
/
lib
/
CXGN
/
Apache
/
Error.pm
blob
376d1c95bc8180b195c5dc8e0f0588345ca835de
1
=head1 NAME
2
3
CXGN::Apache::Error
4
5
Deprecated. Do not use in new code.
6
7
=cut
8
9
package
CXGN
::
Apache
::
Error
;
10
use
strict
;
11
use
warnings
;
12
13
use
CatalystX
::
GlobalContext
'
$c
'
;
14
15
sub
_context
{
16
return
$c
if
$c
;
17
require
SGN
::
Context
;
18
return
SGN
::
Context
->
instance
;
19
}
20
sub
notify
{
21
_context
()->
throw
(
notify
=>
1
,
developer_message
=>
join
''
,
@_
);
22
}
23
24
25
###
26
1
;
#do not remove
27
###
28
29
30