{"id":3932939,"name":"github.com/stackus/errors","ecosystem":"go","description":"Package errors builds on Go 1.13 errors adding HTTP and GRPC code to your errors.\n\nWrap() and Wrapf()\n\nWhen the wrap functions are used with one of the defined Err* constants you get back\nan error that you're able to pass the error through a GRPC server and client or\nuse to build HTTP error messages and set the HTTP status.\n\nWrapping any error other than an Error will return an error with the message formatted\nas \"\u003cmessage\u003e: \u003cerror\u003e\".\n\nWrapping an Error will return an error with an unaltered error message.\n\nThe errors produced with wrap, that have also been wrapped first with an Err* can be\nsend with SendGRPCError() and received with ReceiveGRPCError().\n\nYou may want to create and use GRPC server and client interceptors to avoid having to\ncall the Send/Receive methods in every handler.\n\nThe Err* constants are errors and can be used directly is desired.","homepage":"https://github.com/stackus/errors","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/stackus/errors","keywords_array":[],"namespace":"github.com/stackus","versions_count":12,"first_release_published_at":"2021-05-22T06:23:35.000Z","latest_release_published_at":"2025-05-07T03:35:03.000Z","latest_release_number":"v0.1.8","last_synced_at":"2026-05-14T15:02:18.944Z","created_at":"2022-04-12T02:50:50.534Z","updated_at":"2026-05-14T15:02:18.944Z","registry_url":"https://pkg.go.dev/github.com/stackus/errors","install_command":"go get github.com/stackus/errors","documentation_url":"https://pkg.go.dev/github.com/stackus/errors#section-documentation","metadata":{},"repo_metadata":{"uuid":"369727954","full_name":"stackus/errors","owner":"stackus","description":"Builds on Go 1.13 errors by adding HTTP statuses and GRPC codes to them.","archived":false,"fork":false,"pushed_at":"2022-06-03T00:00:57.000Z","size":75,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-02-25T09:38:14.559Z","etag":null,"topics":["error-handling","errors","golang","grpc","http"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"logo_url":null,"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":"2021-05-22T05:55:37.000Z","updated_at":"2022-04-22T18:31:40.000Z","dependencies_parsed_at":"2022-08-24T07:11:11.881Z","dependency_job_id":null,"html_url":"https://github.com/stackus/errors","commit_stats":null,"repository_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackus%2Ferrors","tags_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackus%2Ferrors/tags","manifests_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackus%2Ferrors/manifests","owner_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stackus","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":108921946,"host_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names"}},"repo_metadata_updated_at":"2023-03-21T19:15:48.723Z","dependent_packages_count":17,"downloads":null,"downloads_period":null,"dependent_repos_count":2,"rankings":{"downloads":null,"dependent_repos_count":3.504085370325534,"dependent_packages_count":1.2247571532910513,"stargazers_count":14.475160767585477,"forks_count":13.270395958934317,"docker_downloads_count":null,"average":8.118599812534095},"purl":"pkg:golang/github.com/stackus/errors","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/stackus/errors","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/stackus/errors","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/stackus/errors/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2023-05-18T13:44:54.574Z","issues_count":0,"pull_requests_count":1,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":129.0,"issues_closed_count":0,"pull_requests_closed_count":1,"pull_request_authors_count":1,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":0.0,"merged_pull_requests_count":1,"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},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fstackus%2Ferrors/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fstackus%2Ferrors/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fstackus%2Ferrors/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fstackus%2Ferrors/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fstackus%2Ferrors/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fstackus%2Ferrors/codemeta","maintainers":[]}