()
| 357 | |
| 358 | impl fmt::Display for MoveNodeError { |
| 359 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { |
| 360 | let message = match self { |
| 361 | MoveNodeError::NodeNotFound => "The selected node could not be found.", |
| 362 | MoveNodeError::TargetCollectionNotFound => "The target collection no longer exists.", |
| 363 | MoveNodeError::TargetFolderNotFound => "The target folder could not be found.", |
| 364 | MoveNodeError::CannotMoveIntoSelf => "A node cannot be moved into itself.", |
| 365 | MoveNodeError::CannotMoveIntoDescendant => { |
| 366 | "A folder cannot be moved into one of its descendants." |
| 367 | } |
| 368 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected