{"id":18446722,"url":"https://github.com/cristalhq/errorx","last_synced_at":"2026-03-05T07:02:31.791Z","repository":{"id":171663938,"uuid":"648142474","full_name":"cristalhq/errorx","owner":"cristalhq","description":"Better `errors` package for Go","archived":false,"fork":false,"pushed_at":"2025-07-19T10:58:58.000Z","size":27,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-09T21:40:05.867Z","etag":null,"topics":["error-handling","error-messages","errors","go","golang","stacktraces"],"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,"icon_url":"https://github.com/cristalhq.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-01T09:53:53.000Z","updated_at":"2025-07-19T10:57:52.000Z","dependencies_parsed_at":"2023-12-17T11:32:50.014Z","dependency_job_id":"172bd4df-d009-4758-bf6e-742a4e7172e1","html_url":"https://github.com/cristalhq/errorx","commit_stats":null,"previous_names":["cristalhq/errorx"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/cristalhq/errorx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristalhq%2Ferrorx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristalhq%2Ferrorx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristalhq%2Ferrorx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristalhq%2Ferrorx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cristalhq","download_url":"https://codeload.github.com/cristalhq/errorx/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cristalhq%2Ferrorx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30113112,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T03:40:26.266Z","status":"ssl_error","status_checked_at":"2026-03-05T03:39:15.902Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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"}},"keywords":["error-handling","error-messages","errors","go","golang","stacktraces"],"created_at":"2024-11-06T07:10:27.790Z","updated_at":"2026-03-05T07:02:31.749Z","avatar_url":"https://github.com/cristalhq.png","language":"Go","readme":"# errorx\n\n[![build-img]][build-url]\n[![pkg-img]][pkg-url]\n[![version-img]][version-url]\n\nTODO\n\n## Rationale\n\nTODO\n\n## Features\n\n* Simple and easy.\n* Safe \u0026 fast.\n* Tested.\n* Dependency-free.\n\nSee [these docs][pkg-url] or [GUIDE.md](GUIDE.md) for more details.\n\n## Install\n\nGo version 1.18+\n\n```\ngo get github.com/cristalhq/errorx\n```\n\n## Example\n\n```go\nerr := errorx.Newf(\"this is the error\")\nif err != nil {\n\treturn errorx.Wrapf(err, \"something happened\")\n}\n\nerrAt := errorx.Newf(\"happened at: %s\", time.Now())\nif errAt != nil {\n\treturn errorx.Trace(err)\n}\n\nif errorx.Tracing() {\n\tprintln(\"error tracing is enabled\")\n}\n```\n\nSee examples: [example_test.go](example_test.go).\n\n## License\n\n[MIT License](LICENSE).\n\n[build-img]: https://github.com/cristalhq/errorx/workflows/build/badge.svg\n[build-url]: https://github.com/cristalhq/errorx/actions\n[pkg-img]: https://pkg.go.dev/badge/cristalhq/errorx\n[pkg-url]: https://pkg.go.dev/github.com/cristalhq/errorx\n[version-img]: https://img.shields.io/github/v/release/cristalhq/errorx\n[version-url]: https://github.com/cristalhq/errorx/releases\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcristalhq%2Ferrorx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcristalhq%2Ferrorx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcristalhq%2Ferrorx/lists"}