fn command_error(error: impl Display) -> String
Converts an error to the message returned to the interface.