{"id":52319,"library":"getlantern-errors","title":"errors","description":"Error types and utilities for the Lantern project, supporting wrapping, context, and stacktraces.","status":"active","version":"1.0.4","language":"go","source_language":null,"source_url":"https://github.com/getlantern/errors","tags":["errors","error-handling","lantern"],"install":[{"cmd":"go get github.com/getlantern/errors","lang":"bash","label":"Install github.com/getlantern/errors"}],"dependencies":[],"imports":[{"symbol":"errors","correct":"github.com/getlantern/errors"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/getlantern/errors\"\n)\n\nfunc main() {\n\terr := errors.New(\"something went wrong\")\n\tfmt.Println(err)\n}","lang":"go","description":"Create a new error with context."},"warnings":[],"env_vars":null,"search_vec":"'context':12 'error':1,2,15,17 'error-handl':16 'handl':18 'lantern':8,19 'project':9 'stacktrac':14 'support':10 'type':3 'util':5 'wrap':11","created_at":"2026-06-15T06:49:51.199714+00:00","updated_at":"2026-06-15T06:49:51.199714+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/getlantern/errors","github":"https://github.com/getlantern/errors","docs":"https://pkg.go.dev/github.com/getlantern/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}}