There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

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