How can I return a meaningful error message from a file provider?

I have implemented a file provider extension that seems to be working.

I need to be able to block users from renaming files or folders to illegal names such as a name containing a '/' for example.

In renameItemWithIdentifier I can scan the name and return an error but all the user sees is an ugly generic error message displaying an error domain and an error code.

Is there any way to display my own error message?

Hi Barry!

Im facing the same problem as you, did you solve it? Thanks in advance.

How can I return a meaningful error message from a file provider?
 
 
Q