Zonemaster::Engine::Normalization::Error(3pm)

Zonemaster::Engine::Normalization::Error3pm

Normalization error class

Usage

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

Attributes

tag

The message tag associated to the error.

params

The error message parameters to use in the message string.

Methods

new($tag, $params)

Creates and returns a new error object. This function will croak if there is a missing parameter for the given tag.

message

Returns the translated error message using the parameters given when creating the object.

tag

Returns the message tag associated to the error.

string

Returns a string representation of the error object. Equivalent to message().

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

From libzonemaster-perl 7.1.0-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.