---
name: "Zonemaster::Exception"
section: "3pm"
platform: "linux"
package: "libzonemaster-perl"
version: "1.0.16-2.1"
release: "Debian 11 (Bullseye)"
platforms: ["linux"]
url: "https://new.carta.tech/Zonemaster::Exception"
---

# Zonemaster::Exception(3pm)

## NAME

Zonemaster::Exception -- base class for Zonemaster exceptions

## SYNOPSIS

```
   die Zonemaster::Exception->new({ message => "This is an exception" });
```

## ATTRIBUTES

- message

  A string attribute holding a message for possible human consumption.

## METHODS

- **string()**

  Method that stringifies the object by returning the `"message"` attribute. Stringification is overloaded to this.
