Handle exceptiomn when trying to load a typesmart library