NAME

HTML::Lint::Error - Error object for the Lint functionality

SYNOPSIS

See HTML::Lint for all the gory details.

EXPORTS

None. It's all object-based.

METHODS

Almost everything is an accessor.

new()

Create an object. It's not very exciting.

where()

Returns a formatted string that describes where in the file the error has occurred.

For example,

(14:23)

for line 14, column 23.

as_string()

Returns a nicely-formatted string for printing out to stdout or some similar user thing.

file()

Returns the filename of the error, as set by the caller.

line()

Returns the line number of the error.

column()

Returns the column number, starting from 0

errcode()

Returns the HTML::Lint error code. Don't rely on this, because it will probably go away.

errtext()

Descriptive text of the error

TODO

  • None

LICENSE

This code may be distributed under the same terms as Perl itself.

Please note that these modules are not products of or supported by the employers of the various contributors to the code.

AUTHOR

Andy Lester, <andy@petdance.com>

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 138:

'=item' outside of any '=over'

Around line 140:

You forgot a '=back' before '=head1'