---
name: "YAML::Error"
section: "3pm"
platform: "linux"
package: "perl-yaml"
version: "1.321-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/YAML::Error"
---

# YAML::Error(3pm)

Error formatting class for YAML modules

## NAME

YAML::Error - Error formatting class for YAML modules

## SYNOPSIS

```
    $self->die('YAML_PARSE_ERR_NO_ANCHOR', $alias);
    $self->warn('YAML_LOAD_WARN_DUPLICATE_KEY');
```

## DESCRIPTION

This module provides a `"die"` and a `"warn"` facility.

## AUTHOR

Ingy döt Net \<ingy@cpan.org\>

## COPYRIGHT

Copyright 2001-2014. Ingy döt Net

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See \<http://www.perl.com/perl/misc/Artistic.html\>
