diff Lib/IMPL/Web/ForbiddenException.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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Lib/IMPL/Web/ForbiddenException.pm	Thu Apr 19 02:10:02 2012 +0400
@@ -0,0 +1,24 @@
+package IMPL::Web::ForbiddenException;
+use strict;
+
+use IMPL::declare {
+	base => {
+		'IMPL::Web::Exception' => '@_'
+	}
+};
+
+sub code {
+	403
+}
+
+1;
+
+__END__
+
+=pod
+
+=head1 NAME
+
+C<IMPL::Web::ForbiddenException> - операция не разрешается.
+
+=cut
\ No newline at end of file