Scroll to navigation

Zonemaster::Engine::Normalization::Error(3pm) User Contributed Perl Documentation Zonemaster::Engine::Normalization::Error(3pm)

NAME

Zonemaster::Engine::Normalization::Error - normalization error class

SYNOPSIS

    use Zonemaster::Engine::Normalization::Error;
    my $error = Zonemaster::Engine::Normalization::Error->new(LABEL_TOO_LONG => {label => $label});

ATTRIBUTES

The message tag associated to the error.
The error message parameters to use in the message string.

METHODS

Creates and returns a new error object. This function will croak if there is a missing parameter for the given tag.
Returns the translated error message using the parameters given when creating the object.
Returns the message tag asscociated to the error.
Returns a string representation of the error object. Equivalent to message().
2023-03-04 perl v5.36.0