Mercurial > pub > Impl
diff Lib/IMPL/Web/NotAcceptableException.pm @ 206:c8fe3f84feba
+IMPL::Web::Handlers::ViewSelector
+IMPL::Web::Handlers::ErrorHandler
*IMPL::Web::Handlers::RestController moved types mappings to ViewSelector
author | sergey |
---|---|
date | Thu, 03 May 2012 16:48:39 +0400 |
parents | |
children | 47f77e6409f7 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Lib/IMPL/Web/NotAcceptableException.pm Thu May 03 16:48:39 2012 +0400 @@ -0,0 +1,25 @@ +package IMPL::Web::NotAcceptableException; +use strict; + +use IMPL::declare { + base => { + 'IMPL::Web::Exception' => '@_' + } +}; + +sub code { + 406; +} + +1; + +__END__ + +=pod + +=head1 NAME + +C<IMPL::Web::NotAcceptableException> Исключение в случае, если запрошенный ресурс не может +быть выдан в указанном виде. + +=cut \ No newline at end of file