{"id":15685075,"url":"https://github.com/erfanium/wrap_error","last_synced_at":"2026-04-27T23:34:46.561Z","repository":{"id":62422290,"uuid":"399243760","full_name":"erfanium/wrap_error","owner":"erfanium","description":"Wrap JavaScript promise errors","archived":false,"fork":false,"pushed_at":"2021-08-24T16:51:58.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-07T09:35:27.942Z","etag":null,"topics":["deno"],"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/erfanium.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}},"created_at":"2021-08-23T20:48:08.000Z","updated_at":"2022-11-25T17:41:02.000Z","dependencies_parsed_at":"2022-11-01T17:33:10.088Z","dependency_job_id":null,"html_url":"https://github.com/erfanium/wrap_error","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erfanium%2Fwrap_error","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erfanium%2Fwrap_error/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erfanium%2Fwrap_error/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erfanium%2Fwrap_error/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erfanium","download_url":"https://codeload.github.com/erfanium/wrap_error/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246308051,"owners_count":20756482,"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":["deno"],"created_at":"2024-10-03T17:23:16.511Z","updated_at":"2026-04-27T23:34:45.540Z","avatar_url":"https://github.com/erfanium.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wrap_error\n\nWrap JavaScript promise errors\n\n```ts\nimport { wrapError } from \"./mod.ts\";\n\nasync function isDenoOk(): Promise\u003cboolean\u003e {\n  const [error, response] = await wrapError(fetch(\"https://deno.land\"));\n  return !error \u0026\u0026 response!.status === 200;\n}\n\nconst status = await isDenoOk();\nconsole.log(status);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferfanium%2Fwrap_error","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferfanium%2Fwrap_error","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferfanium%2Fwrap_error/lists"}