Exception: Pikuri::Tasks::DuplicateItem

Inherits:
StandardError
  • Object
show all
Defined in:
lib/pikuri/tasks/list.rb

Overview

Raised by List#add when a new item’s content already appears in the list. Content doubles as identifier in the task tools, so duplicates would make task_in_progress / task_completed / task_delete ambiguous. The exception carries the offending content string so the tool layer can surface it verbatim in the “Error: …” observation.