{"id":50870,"library":"juju-errors","title":"Juju Errors","description":"Provides error annotation with stack traces and cause retrieval for Go applications.","status":"active","version":"1.0.0","language":"go","source_language":null,"source_url":"https://github.com/juju/errors","tags":["errors","stack-trace","annotation","debugging"],"install":[{"cmd":"go get github.com/juju/errors","lang":"bash","label":"Install github.com/juju/errors"}],"dependencies":[],"imports":[{"symbol":"errors","correct":"github.com/juju/errors"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/juju/errors\"\n)\n\nfunc main() {\n\terr := errors.New(\"something went wrong\")\n\tfmt.Println(errors.ErrorStack(err))\n}","lang":"go","description":"Creates a new error and prints its stack trace."},"warnings":[{"fix":"Use an import alias or avoid mixing with standard errors.","message":"This package shadows the standard errors package; importing both can cause confusion.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'annot':5,19 'applic':14 'caus':10 'debug':20 'error':2,4,15 'go':13 'juju':1 'provid':3 'retriev':11 'stack':7,17 'stack-trac':16 'trace':8,18","created_at":"2026-06-15T05:12:16.847804+00:00","updated_at":"2026-06-15T05:12:16.847804+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/juju/errors","github":"https://github.com/juju/errors","docs":"https://pkg.go.dev/github.com/juju/errors#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}