Mercurial > pub > Impl
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Lib/IMPL/Web/BadRequestException.pm Thu May 23 18:40:26 2013 +0400 @@ -0,0 +1,30 @@ +package IMPL::Web::BadRequestException; +use strict; + +use IMPL::declare { + base => { + 'IMPL::Web::Exception' => '@_' + } +}; + +use IMPL::Resources::Strings { + message => "The request could not be understood due to malformed syntax" +}; + +sub status { + "400 Bad Request"; +} + +1; + +__END__ + +=pod + +=head1 NAME + +C<IMPL::Web::BadRequestException> - 400 Bad Request + +=head1 DESCRIPTION + +=cut \ No newline at end of file