ActionNotAllowedException.deleteRoot constructor

ActionNotAllowedException.deleteRoot(
  1. INode node
)

Implementation

factory ActionNotAllowedException.deleteRoot(INode node) =>
    ActionNotAllowedException(
        node,
        "Deleting the root node is not allowed. Delete method should not be used on the root."
        "\nException occurred for node <${node.key}>");