Mercurial > pub > Impl
comparison Lib/IMPL/Web/BadRequestException.pm @ 323:b56b1ec33b59
minor changes to support JSON in transformation from a query to an object
author | sergey |
---|---|
date | Thu, 23 May 2013 18:40:26 +0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
322:cca158327c47 | 323:b56b1ec33b59 |
---|---|
1 package IMPL::Web::BadRequestException; | |
2 use strict; | |
3 | |
4 use IMPL::declare { | |
5 base => { | |
6 'IMPL::Web::Exception' => '@_' | |
7 } | |
8 }; | |
9 | |
10 use IMPL::Resources::Strings { | |
11 message => "The request could not be understood due to malformed syntax" | |
12 }; | |
13 | |
14 sub status { | |
15 "400 Bad Request"; | |
16 } | |
17 | |
18 1; | |
19 | |
20 __END__ | |
21 | |
22 =pod | |
23 | |
24 =head1 NAME | |
25 | |
26 C<IMPL::Web::BadRequestException> - 400 Bad Request | |
27 | |
28 =head1 DESCRIPTION | |
29 | |
30 =cut |