Oddly enough, you have to import a module to use its exceptions.