---
name: "Zonemaster::Engine::Normalization::Error"
section: "3pm"
platform: "linux"
package: "libzonemaster-perl"
version: "7.1.0-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Zonemaster::Engine::Normalization::Error"
---

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

normalization error class

## 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

- 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()**.
