Sponsoring The Perl Toolchain Summit 2025: Help make this important event another success Learn more

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