iOS 18 Beta - Proper error code is not given by TranslationError

All errors in TranslationError return the same error code, making it difficult to differentiate between them. How can this issue be resolved?

I'm not sure what you refer to by "TranslationError". Is it an error returned from CoreML framework? If so, it ought to be NSError object. Could you share .localizedDescription property of the object to help me understand the situation?

iOS 18 Beta - Proper error code is not given by TranslationError
 
 
Q