Mercurial > pub > Impl
comparison Lib/IMPL/Web/NotFoundException.pm @ 197:6b1dda998839
Added IMPL::declare, IMPL::require, to simplify module definitions
IMPL::Transform now admires object inheritance while searching for the transformation
Added HTTP some exceptions
IMPL::Web::Application::RestResource almost implemented
author | sergey |
---|---|
date | Thu, 19 Apr 2012 02:10:02 +0400 |
parents | |
children | 47f77e6409f7 |
comparison
equal
deleted
inserted
replaced
196:a705e848dcc7 | 197:6b1dda998839 |
---|---|
1 package IMPL::Web::NotFoundException; | |
2 use strict; | |
3 | |
4 use IMPL::declare { | |
5 base => { | |
6 'IMPL::Web::Exception' => '@_' | |
7 } | |
8 }; | |
9 | |
10 sub code { | |
11 404; | |
12 } | |
13 | |
14 1; | |
15 | |
16 __END__ | |
17 | |
18 =pod | |
19 | |
20 =head1 NAME | |
21 | |
22 C<IMPL::Web::NotFoundException> Исключение для несущесьвующего ресурса. | |
23 | |
24 =cut |