# Functions
NewAlreadyLatestVersionError displays errors with the following description: No newer version found for this package, as it is already to latest version.
NewDowngradeVersionUnsupportedError displays errors with the following description: Unable to suggest a downgrade for a package version.
NewFailedToCompilePrTemplateError displays errors with the following description: Could not compile your customize pull request template.
NewFailedToCreatePRTemplateError displays errors with the following description: Snyk could not create pull request template.
NewFailedToDeletePRTemplateError displays errors with the following description: Snyk could not delete pull request template.
NewFailedToGenerateHashError displays errors with the following description: Snyk could not generate hash using the customer PR files and projects vulnIds.
NewFailedToGetPullRequestAttributesError displays errors with the following description: Snyk could not get the custom pull request template attributes, using the given variables and the fetched pr template.
NewFailedToLoadCompiledJSONError displays errors with the following description: Could not load JSON file after substituting Snyk variables into the custom PR template.
NewFailedToLoadCompiledYamlError displays errors with the following description: Could not load YAML file after substituting Snyk variables into the custom PR template.
NewFailedToParsePullRequestAttributesError displays errors with the following description: Snyk could not parse the custom pull request template, using the given variables and assigning them to the fetched pr template.
NewFailedToReadPRTemplateError displays errors with the following description: Snyk could not get pull request template.
NewFailedToRenderDefaultTemplateError displays errors with the following description: Could not render default PR template.
NewFixScenarioNotSupportedError displays errors with the following description: Snyk failed to open a fix PR as the scenario is not supported.
NewMetadataNotFoundError displays errors with the following description: Package metadata not or found or missing.
NewNoMatureVersionsFoundError displays errors with the following description: Unable to provide a recommended version as no mature versions were found.
NewPRTemplateInvalidPayloadError displays errors with the following description: The pull request template payload is invalid.
NewPullRequestTemplateNotFoundError displays errors with the following description: We could not find your pull request template, have you created one yet? Please check the attached link for instructions on how to setup your pull request template.
NewSCMRateLimitError displays errors with the following description: SCM rate limit exceeded due to too many requests.
NewUnauthorisedAccessError displays errors with the following description: Request failed due to unathorised access.
NewUnsupportedEcosystemError displays errors with the following description: The language or package manager is not supported.
NewVersionNotFoundError displays errors with the following description: Unable to provide a recommended version for package using this policy.
NewVersionParsingError displays errors with the following description: Not a valid version for semver format.