Scroll to navigation

Catmandu::Fix::error(3pm) User Contributed Perl Documentation Catmandu::Fix::error(3pm)

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

2023-03-03 perl v5.36.0