If I make a call, (e.g. using listFolder), and I pass in an invalid path argument, (e.g. no leading slash), I get the following error:
precondition failed: "Does not exist must match pattern "\A(?:(/(.|[\r\n])*)?|id:.*|(ns:[0-9]+(/.*)?))\z":
I understand why the error occurs, but the error seems to occur, before the call gets made, and doesn't show up, when I check the response for an error. My question is, how can I catch this kind of error of the path argument?
Thanks