---
name: "Catmandu::Fix::error"
section: "3pm"
platform: "linux"
package: "libcatmandu-perl"
version: "1.2024-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Catmandu::Fix::error"
---

# Catmandu::Fix::error(3pm)

die with an error message

## NAME

Catmandu::Fix::error - die with an error message

## SYNOPSIS

```
  unless exists(id)
    error('id missing!')
  end
  # get the value from a path
  error($.error)
```

## SEE ALSO

Catmandu::Fix
