move known_error_codes to cf/errors package.