{"id":19777674,"url":"https://github.com/lvce-editor/verror","last_synced_at":"2025-02-28T05:51:55.784Z","repository":{"id":189578324,"uuid":"680903648","full_name":"lvce-editor/verror","owner":"lvce-editor","description":"Improve error messages by adding additional context to an error.","archived":false,"fork":false,"pushed_at":"2025-02-22T13:15:57.000Z","size":250,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-22T14:23:26.953Z","etag":null,"topics":["error","verror"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/lvce-editor.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-08-20T19:16:55.000Z","updated_at":"2025-02-22T13:16:00.000Z","dependencies_parsed_at":"2024-05-12T11:28:08.537Z","dependency_job_id":"ed532cca-46f1-48ea-b1d9-993d34734e38","html_url":"https://github.com/lvce-editor/verror","commit_stats":null,"previous_names":["lvce-editor/verror"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvce-editor%2Fverror","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvce-editor%2Fverror/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvce-editor%2Fverror/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvce-editor%2Fverror/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lvce-editor","download_url":"https://codeload.github.com/lvce-editor/verror/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241107876,"owners_count":19910977,"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","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","verror"],"created_at":"2024-11-12T05:26:01.749Z","updated_at":"2025-02-28T05:51:55.757Z","avatar_url":"https://github.com/lvce-editor.png","language":"TypeScript","readme":"# VError\n\nImprove error messages by adding additional context to an error.\n\n## Install\n\n```sh\nnpm install @lvce-editor/verror\n```\n\n## Usage\n\n```js\nimport { VError } from '@lvce-editor/verror'\n\nconst otherFunction = () =\u003e {\n  throw new Error(`oops`)\n}\n\nconst doSomething = () =\u003e {\n  try {\n    const data = otherFunction()\n    return data\n  } catch (error) {\n    throw new VError(error, `failed to get data`)\n  }\n}\n```\n\n## Gitpod\n\n[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/lvce-editor/verror)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flvce-editor%2Fverror","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flvce-editor%2Fverror","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flvce-editor%2Fverror/lists"}