view lib/IMPL/Web/ForbiddenException.pm @ 423:60c2892a577c ref20150831

working on base class system
author cin
date Mon, 02 Apr 2018 07:35:23 +0300
parents c6e90e02dd17
children
line wrap: on
line source

package IMPL::Web::ForbiddenException;
use strict;

use IMPL::declare {
	base => {
		'IMPL::Web::Exception' => '@_'
	}
};

use IMPL::Resources::Strings {
    message => "You don't have access to this resource"
};

sub status {
	"403 Forbidden"
}

1;

__END__

=pod

=head1 NAME

C<IMPL::Web::ForbiddenException> - операция не разрешается.

=cut