Toffee.ErrorSourcetype t = | Child_index_out_of_bounds of {parent : Node_id.t;child_index : int;child_count : int;}Child_index_out_of_bounds { parent; child_index; child_count } indicates an attempt to access child at child_index in parent, which has child_count children. Valid indices are 0 to child_count - 1.
| Invalid_parent_node of Node_id.tInvalid_parent_node node_id indicates node_id does not exist in the tree. The node was either never created or has been removed.
| Invalid_child_node of Node_id.tInvalid_child_node node_id indicates node_id does not exist in the tree. The node was either never created or has been removed.
| Invalid_input_node of Node_id.tInvalid_input_node node_id indicates node_id does not exist in the tree. The node was either never created or has been removed.