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