HTML::O...xception(3)
π NAME π
okay so welcome to the HTML::O...xception(3) page β yep, the header is doing its little truncation thing, but the manual name is HTML::Object::Exception(3), filed under User Contributed Perl Documentation. This class is HTML::Object::Exception β HTML Object β and it is literally serving exception-class realness. No cap. β¨
π SYNOPSIS π
use HTML::Object::Exception;
my $this = HTML::Object::Exception->new ||
die( HTML::Object::Exception->error, "\n" );
β¨ VERSION β¨
v0.2.0 β short, sweet, iconic. π
πΈ DESCRIPTION πΈ
This class inherits all its features and methods from Module::Generic::Exception, and implements the following additional methods:
π METHODS π
colno
An alias for columnNumber. Slay.
columnNumber
Returns the column number, which usually returns undef, because this is not set. It's giving "not today, column info." π
fileName
The file name where the error occurred. This is an alias for file in Module::Generic::Exception.
filename
An alias for fileName. Cute little name twins. π«Ά
lineno / lineNumber
The line number where the error occurred. This is an alias for line in Module::Generic::Exception.
name
Returns the class name. For example: HTML::Object::Exception. Main character energy, honestly. π
stack
Returns the stack trace object. This is an alias for trace in Module::Generic::Exception.
toLocalString
This is an alias for as_string in Module::Generic::Exception.
toString
This is an alias for as_string in Module::Generic::Exception.
π¦ OTHER EXCEPTION CLASSES π¦
This module also implements the following exception classes used predominantly by HTML::Object::DOM. Bestie, we are spoiled with exception options. π
HTML::Object::ErrorEvent
The HTML::Object::ErrorEvent object represents an error triggered and captured by a global error in the HTML::Object::DOM::Document object.
It is used by properties like onabort in HTML::Object::DOM::Document or onerror in HTML::Object::DOM::Document.
See for more information: https://developer.mozilla.org/en-US/docs/Web/API/ErrorEvent
HTML::Object::HierarchyRequestError
The HTML::Object::HierarchyRequestError object represents an error when the node tree hierarchy is not correct.
HTML::Object::IndexSizeError
The HTML::Object::IndexSizeError object represents an error that occurs when an index is not in the allowed range.
For example, in substringData in HTML::Object::DOM::CharacterData.
HTML::Object::InvalidCharacterError
The HTML::Object::InvalidCharacterError object represents an error when a given named parameter contains one or more characters which are not valid.
HTML::Object::InvalidStateError
The HTML::Object::InvalidStateError object represents an error when something is in an invalid state.
HTML::Object::MediaError
The HTML::Object::MediaError object represents a HTML::Object::DOM::Element::Media error.
HTML::Object::NotFoundError
The HTML::Object::NotFoundError object represents an error when the object cannot be found here.
HTML::Object::SyntaxError
The HTML::Object::SyntaxError object represents an error when trying to interpret syntactically invalid code.
HTML::Object::TypeError
The HTML::Object::TypeError object represents an error when an operation could not be performed, typically (but not exclusively) when a value is not of the expected type.
π AUTHOR π
Jacques Deguest <jack@deguest.jp>
π SEE ALSO π
HTML::Object::HierarchyRequestError, Module::Generic::Exception, "error" in Module::Generic
Mozilla documentation: https://developer.mozilla.org/en-US/docs/Web/API/DOMException
HTML::Object, HTML::Object::Attribute, HTML::Object::Boolean, HTML::Object::Closing, HTML::Object::Collection, HTML::Object::Comment, HTML::Object::Declaration, HTML::Object::Document, HTML::Object::Element, HTML::Object::Exception, HTML::Object::Literal, HTML::Object::Number, HTML::Object::Root, HTML::Object::Space, HTML::Object::Text, HTML::Object::XQuery
π 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.
okay bye bestie, that's the whole manual π footer check: perl v5.42.2, dated 2026-02-15, on HTML::O...xception(3) β mwah, stay exceptional. πβ¨
π¦ where this page comes from
- alpine 3.24: perl-html-object-doc 0.6.0-r1 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms