Hi everyone,
I am building a swift-based library, that can load configuration files.
Of course, configuration files can contain errors, and I need to provide helpful feedback in such cases.
I have declared error types, that inherits NSError, and I throw them with the required description when an error occures. It works great in swift.
But when I use my library in Objective-C, the errors I receive does not contain any helpful information : userInfo is nil, the only thing I have is the domain and the code.
What have I missed ? What should I do to have the userInfo transfered from the swift world to the objective-C ?
Thanks for your help !
Jerome