Use make_error_code in preparation for making errc an enum class.