Add custom exceptions library