Error::Hierarchy::Internal::ReadOnlyAttribute - When someone tried to set a read-only attribute


Error-Hierarchy documentation Contained in the Error-Hierarchy distribution.

Index


Code Index:

NAME

Top

Error::Hierarchy::Internal::ReadOnlyAttribute - When someone tried to set a read-only attribute

VERSION

Top

version 1.103530

SYNOPSIS

Top

  Error::Hierarchy::Internal::ReadOnlyAttribute->throw(attribute => 'foo');

DESCRIPTION

Top

This class implements an exception that is meant to be thrown when someone tried to change a value you consider to be read-only.

PROPERTIES

Top

This exception class inherits all properties of Error::Hierarchy::Internal.

Additionally it defines the attribute property.

INSTALLATION

Top

See perlmodinstall for information and options on installing Perl modules.

BUGS AND LIMITATIONS

Top

No bugs have been reported.

Please report any bugs or feature requests through the web interface at http://rt.cpan.org/Public/Dist/Display.html?Name=Error-Hierarchy.

AVAILABILITY

Top

The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visit http://www.perl.com/CPAN/ to find a CPAN site near you, or see http://search.cpan.org/dist/Error-Hierarchy/.

The development version lives at http://github.com/hanekomu/Error-Hierarchy and may be cloned from git://github.com/hanekomu/Error-Hierarchy. Instead of sending patches, please fork this project using the standard git and github infrastructure.

AUTHOR

Top

Marcel Gruenauer <marcel@cpan.org>

COPYRIGHT AND LICENSE

Top


Error-Hierarchy documentation Contained in the Error-Hierarchy distribution.

use 5.008;
use strict;
use warnings;

package Error::Hierarchy::Internal::ReadOnlyAttribute;
BEGIN {
  $Error::Hierarchy::Internal::ReadOnlyAttribute::VERSION = '1.103530';
}
# ABSTRACT: When someone tried to set a read-only attribute
use parent 'Error::Hierarchy::Internal';
__PACKAGE__->mk_accessors(qw(attribute));
use constant default_message => '[%s] is a read only attribute';
use constant PROPERTIES      => ('attribute');
1;


__END__