Add missing import `errors`