{"id":3571975,"name":"github.com/pkg/ERrors","ecosystem":"go","description":"Package errors provides simple error handling primitives.\n\nThe traditional error handling idiom in Go is roughly akin to\n\nwhich when applied recursively up the call stack results in error reports\nwithout context or debugging information. The errors package allows\nprogrammers to add context to the failure path in their code in a way\nthat does not destroy the original value of the error.\n\nThe errors.Wrap function returns a new error that adds context to the\noriginal error by recording a stack trace at the point Wrap is called,\ntogether with the supplied message. For example\n\nIf additional control is required, the errors.WithStack and\nerrors.WithMessage functions destructure errors.Wrap into its component\noperations: annotating an error with a stack trace and with a message,\nrespectively.\n\nUsing errors.Wrap constructs a stack of errors, adding context to the\npreceding error. Depending on the nature of the error it may be necessary\nto reverse the operation of errors.Wrap to retrieve the original error\nfor inspection. Any error value which implements this interface\n\ncan be inspected by errors.Cause. errors.Cause will recursively retrieve\nthe topmost error that does not implement causer, which is assumed to be\nthe original cause. For example:\n\nAlthough the causer interface is not exported by this package, it is\nconsidered a part of its stable public interface.\n\nAll error values returned from this package implement fmt.Formatter and can\nbe formatted by the fmt package. The following verbs are supported:\n\nNew, Errorf, Wrap, and Wrapf record a stack trace at the point they are\ninvoked. This information can be retrieved with the following interface:\n\nThe returned errors.StackTrace type is defined as\n\nThe Frame type represents a call site in the stack trace. Frame supports\nthe fmt.Formatter interface that can be used for printing information about\nthe stack trace of this error. For example:\n\nAlthough the stackTracer interface is not exported by this package, it is\nconsidered a part of its stable public interface.\n\nSee the documentation for Frame.Format for more details.","homepage":"https://github.com/pkg/ERrors","licenses":"BSD-2-Clause","normalized_licenses":["BSD-2-Clause"],"repository_url":"https://github.com/pkg/ERrors","keywords_array":[],"namespace":"github.com/pkg","versions_count":13,"first_release_published_at":"2016-04-24T12:18:34.000Z","latest_release_published_at":"2020-01-14T19:47:44.000Z","latest_release_number":"v0.9.1","last_synced_at":"2026-04-05T08:33:19.552Z","created_at":"2022-04-11T03:09:25.685Z","updated_at":"2026-04-05T08:33:19.552Z","registry_url":"https://pkg.go.dev/github.com/pkg/ERrors","install_command":"go get github.com/pkg/ERrors","documentation_url":"https://pkg.go.dev/github.com/pkg/ERrors#section-documentation","metadata":{},"repo_metadata":{"id":37484040,"uuid":"48643510","full_name":"pkg/errors","owner":"pkg","description":"Simple error handling primitives","archived":true,"fork":false,"pushed_at":"2021-11-02T20:32:11.000Z","size":131,"stargazers_count":8239,"open_issues_count":42,"forks_count":707,"subscribers_count":112,"default_branch":"master","last_synced_at":"2025-08-21T13:38:09.120Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://godoc.org/github.com/pkg/errors","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pkg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-27T12:05:38.000Z","updated_at":"2025-08-13T10:39:11.000Z","dependencies_parsed_at":"2022-07-12T16:19:01.017Z","dependency_job_id":null,"html_url":"https://github.com/pkg/errors","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/pkg/errors","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg%2Ferrors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg%2Ferrors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg%2Ferrors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg%2Ferrors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pkg","download_url":"https://codeload.github.com/pkg/errors/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg%2Ferrors/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271498514,"owners_count":24770209,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-21T02:00:08.990Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"},"owner_record":{"login":"pkg","name":"pkg","uuid":"5497984","kind":"organization","description":"Artisanal, hand crafted, barrel aged, Go packages","email":null,"website":null,"location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/5497984?v=4","repositories_count":19,"last_synced_at":"2023-08-07T08:10:21.357Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/pkg","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-06T18:52:24.680Z","updated_at":"2023-08-07T08:10:23.085Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pkg","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pkg/repositories"},"tags":[{"name":"v0.9.1","sha":"614d223910a179a466c1767a985424175c39b465","kind":"commit","published_at":"2020-01-14T19:47:44.000Z","download_url":"https://codeload.github.com/pkg/errors/tar.gz/v0.9.1","html_url":"https://github.com/pkg/errors/releases/tag/v0.9.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/pkg/errors@v0.9.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg%2Ferrors/tags/v0.9.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg%2Ferrors/tags/v0.9.1/manifests"},{"name":"v0.9.0","sha":"49f8f617296114c890ae0b7ac18c5953d2b1ca0f","kind":"commit","published_at":"2020-01-07T21:33:24.000Z","download_url":"https://codeload.github.com/pkg/errors/tar.gz/v0.9.0","html_url":"https://github.com/pkg/errors/releases/tag/v0.9.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/pkg/errors@v0.9.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg%2Ferrors/tags/v0.9.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg%2Ferrors/tags/v0.9.0/manifests"},{"name":"v0.8.1","sha":"ba968bfe8b2f7e042a574c888954fccecfa385b4","kind":"tag","published_at":"2019-01-05T02:13:09.000Z","download_url":"https://codeload.github.com/pkg/errors/tar.gz/v0.8.1","html_url":"https://github.com/pkg/errors/releases/tag/v0.8.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/pkg/errors@v0.8.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg%2Ferrors/tags/v0.8.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg%2Ferrors/tags/v0.8.1/manifests"},{"name":"v0.8.0","sha":"645ef00459ed84a119197bfb8d8205042c6df63d","kind":"tag","published_at":"2016-09-29T01:52:04.000Z","download_url":"https://codeload.github.com/pkg/errors/tar.gz/v0.8.0","html_url":"https://github.com/pkg/errors/releases/tag/v0.8.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/pkg/errors@v0.8.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg%2Ferrors/tags/v0.8.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg%2Ferrors/tags/v0.8.0/manifests"},{"name":"v0.7.1","sha":"17b591df37844cde689f4d5813e5cea0927d8dd2","kind":"tag","published_at":"2016-08-22T09:10:04.000Z","download_url":"https://codeload.github.com/pkg/errors/tar.gz/v0.7.1","html_url":"https://github.com/pkg/errors/releases/tag/v0.7.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/pkg/errors@v0.7.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg%2Ferrors/tags/v0.7.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg%2Ferrors/tags/v0.7.1/manifests"},{"name":"v0.7.0","sha":"01fa4104b9c248c8945d14d9f128454d5b28d595","kind":"tag","published_at":"2016-06-14T06:19:11.000Z","download_url":"https://codeload.github.com/pkg/errors/tar.gz/v0.7.0","html_url":"https://github.com/pkg/errors/releases/tag/v0.7.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/pkg/errors@v0.7.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg%2Ferrors/tags/v0.7.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg%2Ferrors/tags/v0.7.0/manifests"},{"name":"v0.6.0","sha":"2c9da72fa5f1276dd941f6c3e37580dfbc69d85d","kind":"tag","published_at":"2016-06-07T07:28:45.000Z","download_url":"https://codeload.github.com/pkg/errors/tar.gz/v0.6.0","html_url":"https://github.com/pkg/errors/releases/tag/v0.6.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/pkg/errors@v0.6.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg%2Ferrors/tags/v0.6.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg%2Ferrors/tags/v0.6.0/manifests"},{"name":"v0.5.1","sha":"e8c21980b626a566acd580f91bc8f68921796ec5","kind":"tag","published_at":"2016-05-24T02:38:17.000Z","download_url":"https://codeload.github.com/pkg/errors/tar.gz/v0.5.1","html_url":"https://github.com/pkg/errors/releases/tag/v0.5.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/pkg/errors@v0.5.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg%2Ferrors/tags/v0.5.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg%2Ferrors/tags/v0.5.1/manifests"},{"name":"v0.5.0","sha":"abe54b4badbc003dbbf7c287f51751f5286d3801","kind":"tag","published_at":"2016-05-23T09:24:36.000Z","download_url":"https://codeload.github.com/pkg/errors/tar.gz/v0.5.0","html_url":"https://github.com/pkg/errors/releases/tag/v0.5.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/pkg/errors@v0.5.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg%2Ferrors/tags/v0.5.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg%2Ferrors/tags/v0.5.0/manifests"},{"name":"v0.4.0","sha":"d814416a46cbb066b728cfff58d30a986bc9ddbe","kind":"tag","published_at":"2016-05-11T00:00:09.000Z","download_url":"https://codeload.github.com/pkg/errors/tar.gz/v0.4.0","html_url":"https://github.com/pkg/errors/releases/tag/v0.4.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/pkg/errors@v0.4.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg%2Ferrors/tags/v0.4.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg%2Ferrors/tags/v0.4.0/manifests"},{"name":"v0.3.0","sha":"42fa80f2ac6ed17a977ce826074bd3009593fa9d","kind":"tag","published_at":"2016-05-02T23:33:51.000Z","download_url":"https://codeload.github.com/pkg/errors/tar.gz/v0.3.0","html_url":"https://github.com/pkg/errors/releases/tag/v0.3.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/pkg/errors@v0.3.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg%2Ferrors/tags/v0.3.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg%2Ferrors/tags/v0.3.0/manifests"},{"name":"v0.2.0","sha":"f85d45fecf0c92c382e731cb03f481957e2ccdd1","kind":"tag","published_at":"2016-04-25T06:08:58.000Z","download_url":"https://codeload.github.com/pkg/errors/tar.gz/v0.2.0","html_url":"https://github.com/pkg/errors/releases/tag/v0.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/pkg/errors@v0.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg%2Ferrors/tags/v0.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg%2Ferrors/tags/v0.2.0/manifests"},{"name":"v0.1.0","sha":"d363daa49f58665a4459223d800e21a62d451fb3","kind":"tag","published_at":"2016-04-24T12:24:30.000Z","download_url":"https://codeload.github.com/pkg/errors/tar.gz/v0.1.0","html_url":"https://github.com/pkg/errors/releases/tag/v0.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/pkg/errors@v0.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg%2Ferrors/tags/v0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg%2Ferrors/tags/v0.1.0/manifests"}]},"repo_metadata_updated_at":"2025-08-21T14:53:51.952Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":9.345852080216646,"dependent_packages_count":6.999148183520997,"stargazers_count":null,"forks_count":null,"average":8.172500131868823},"purl":"pkg:golang/github.com/pkg/%21e%21rrors","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/pkg/ERrors","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/pkg/ERrors","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/pkg/ERrors/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-12T02:51:55.839Z","issues_count":54,"pull_requests_count":46,"avg_time_to_close_issue":11660187.41935484,"avg_time_to_close_pull_request":7993523.547619048,"issues_closed_count":31,"pull_requests_closed_count":42,"pull_request_authors_count":30,"issue_authors_count":50,"avg_comments_per_issue":6.0,"avg_comments_per_pull_request":3.260869565217391,"merged_pull_requests_count":26,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkg%2Ferrors/issues","maintainers":[{"login":"davecheney","count":14,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/davecheney"},{"login":"aperezg","count":3,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/aperezg"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fpkg%2FERrors/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fpkg%2FERrors/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fpkg%2FERrors/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fpkg%2FERrors/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fpkg%2FERrors/codemeta","maintainers":[]}