Add a missing import

Part of our monkey patch is missing an errors import.