exports variable for exception