The API Reference for LrFileUtils.createAllDirectories (path) incorrectly describes the return values. The correct description:
Return values
(Boolean) True if there were no errors, false if there were errors creating directories in the path.
(string or Boolean) If there were errors creating directories, a string describing the error; otherwise, true if one or more directories were created, or false if all the directories already existed.