The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

HTML::Object::HierarchyRequestError - HTML Hierarchy Exception

SYNOPSIS

    use HTML::Object
    my $parser = HTML::Object->new || die( HTML::Object->error, "\n" );
    my $doc = $parser->parse_file( $some_file ) || die( $parser->error );
    my $elem = $parser->new_element( tag => 'html' );
    $doc->append( $elem ) || die( $doc->error );
    # This would die with an HTML::Object::HierarchyRequestError exception object
    # because there cannot be 2 html tags
    exit(0);

VERSION

    v0.1.0

DESCRIPTION

This exception class inherits all its features from HTML::Object::Exception

METHODS

See HTML::Object::Exception

AUTHOR

Jacques Deguest <jack@deguest.jp>

SEE ALSO

HTML::Object::Exception

COPYRIGHT & LICENSE

Copyright (c) 2021 DEGUEST Pte. Ltd.

All rights reserved

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.