shunjizhan/use-tree-state

extract errors

Closed this issue · 1 comments

define custom errors to be more consistent

  • FindNodeError
  • ToggleOpenError
  • AddNodeError

won't do, don't actually need it