Add a missing import

Part of our monkey patch is missing an errors import.
Merge pull request #263 from craigtracey/missingimport

Add a missing import