Question
Error handling strategy
It seems that many functions in the SDK have underdocumented return codes in error situations. For example, take LrFileUtils.createAllDirectories(). The documentation says:
Return value: (Boolean) True if any parent directory was created; false if all parents already existed.
Ok, possibly useful info, but is there a value that says whether the directory creation itself succeeded or failed? I've pored over the doc and by now I don't think I've missed anything. There are plenty of other functions that don't seem clear in that regard. How are other developers doing error handling?
Return value: (Boolean) True if any parent directory was created; false if all parents already existed.
Ok, possibly useful info, but is there a value that says whether the directory creation itself succeeded or failed? I've pored over the doc and by now I don't think I've missed anything. There are plenty of other functions that don't seem clear in that regard. How are other developers doing error handling?