Mercurial > pub > Impl
annotate lib/IMPL/Web/ForbiddenException.pm @ 422:b0481c071bea ref20150831
IMPL::Config::Container tests, YAMLConfiguration now works and tested
author | cin |
---|---|
date | Sun, 20 Aug 2017 00:20:41 +0300 |
parents | c6e90e02dd17 |
children |
rev | line source |
---|---|
407 | 1 package IMPL::Web::ForbiddenException; |
2 use strict; | |
3 | |
4 use IMPL::declare { | |
5 base => { | |
6 'IMPL::Web::Exception' => '@_' | |
7 } | |
8 }; | |
9 | |
10 use IMPL::Resources::Strings { | |
11 message => "You don't have access to this resource" | |
12 }; | |
13 | |
14 sub status { | |
15 "403 Forbidden" | |
16 } | |
17 | |
18 1; | |
19 | |
20 __END__ | |
21 | |
22 =pod | |
23 | |
24 =head1 NAME | |
25 | |
26 C<IMPL::Web::ForbiddenException> - операция не разрешается. | |
27 | |
28 =cut |