{"id":30661414,"url":"https://github.com/qwyzex/firerr","last_synced_at":"2026-06-30T09:31:30.294Z","repository":{"id":44627076,"uuid":"453422980","full_name":"qwyzex/firerr","owner":"qwyzex","description":"Firebase Error Catching","archived":false,"fork":false,"pushed_at":"2022-03-09T08:37:47.000Z","size":167,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-26T12:05:34.716Z","etag":null,"topics":["firebase"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/firerr","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/qwyzex.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2022-01-29T14:35:50.000Z","updated_at":"2022-02-28T11:23:30.000Z","dependencies_parsed_at":"2022-09-02T04:02:22.229Z","dependency_job_id":null,"html_url":"https://github.com/qwyzex/firerr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/qwyzex/firerr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qwyzex%2Ffirerr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qwyzex%2Ffirerr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qwyzex%2Ffirerr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qwyzex%2Ffirerr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qwyzex","download_url":"https://codeload.github.com/qwyzex/firerr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qwyzex%2Ffirerr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34961543,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-30T02:00:05.919Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["firebase"],"created_at":"2025-08-31T15:01:45.920Z","updated_at":"2026-06-30T09:31:30.268Z","avatar_url":"https://github.com/qwyzex.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FirErr\n\nFirErr is a package for catching Firebase Errors that often occurs. Firebase can only send one response at a time, so catching it _one-by-one_ is not that bad, I think.\n\n## 🤔 Usage\n\nYou can use it by defining a state, or variables that store the Firebase Error Message :\n\n```\nimport { useState } from \"react\";\n\nconst [formError, setFormError] = useState(\"\");\n```\n\nThen do some 🔥 Firebase Stuff :\n\n```js\nasync function login(e) {\n    e.preventDefault();\n    await createUserWithEmailAndPassword(auth, formEmail, formPassword)\n        .then(() =\u003e {\n            // finish\n        })\n        .catch((error) =\u003e {\n            const code = error.code;\n            firerr(code, formError);\n        });\n}\n```\n\n## `firerrString()` function\n\n```js\nimport { firerrString } from \"firerr\";\n\nasync function login(e) {\n    e.preventDefault();\n    await createUserWithEmailAndPassword(auth, formEmail, formPassword)\n        .then(() =\u003e {\n            // finish\n        })\n        .catch((error) =\u003e {\n            const code = error.code;\n            alert(firerrString(code));\n        });\n}\n```\n\n\u003e 🥶 Idk who install this package tho...\n\u003e This is my very first NPM Package.\n\u003e I am very sorry if there's a problem! I'm only 14 yo, 15 next September 🤧\n\u003e\n\u003e \\- qwyzex, 2022\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqwyzex%2Ffirerr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqwyzex%2Ffirerr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqwyzex%2Ffirerr/lists"}