Commit 544a449
authored
feat(error): Decouple public error codes, modularize error files, and enable declaration merging (#3127)
* chore(auth): Refactor auth error logic
* chore(installations): Refactor installations and instance id error logic
* chore(fcm): Refactor fcm error logic
* fix(auth): Fix auth error mapping that were not copied correctly
* fix(auth): Fixed `INVALID_SERVICE_ACCOUNT` to map to a valid client code
* chore(pm): Refactor project management error logic
* chore: Fix license year for new files
* chore(rtdb): Refactor rtdb error logic
* chore(fs): Refactor firestore error logic
* chore(app): Refactor app error logic
* chore(security-rules): Refactor security rules error logic
* chore(app-check): Refactor app check error logic
* chore(remote-config): Refactor remote config error logic
* chore(functions): Refactor functions error logic
* chore(extensions): Refactor extensions error logic
* chore(fdc): Refactor data connect error logic
* chore(ml): Refactor ml error logic
* chore(eventarc): Refactor eventarc error logic
* chore(fpnv): Refactor pnv error logic
* fix: address gemini review
* fix: Use Declaration Merging to expose error code constant mapping along side error code type
* fix: Address gemini review
* chore: Remove extra whitespace1 parent 13a0b19 commit 544a449
138 files changed
Lines changed: 2904 additions & 2607 deletions
File tree
- etc
- src
- app-check
- app
- auth
- data-connect
- database
- eventarc
- extensions
- firestore
- functions
- installations
- instance-id
- machine-learning
- messaging
- phone-number-verification
- project-management
- remote-config
- security-rules
- utils
- test/unit
- app-check
- app
- auth
- data-connect
- eventarc
- extensions
- functions
- installations
- instance-id
- machine-learning
- messaging
- phone-number-verification
- project-management
- remote-config
- security-rules
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
74 | 83 | | |
75 | 84 | | |
76 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
21 | 34 | | |
22 | 35 | | |
23 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
40 | 32 | | |
41 | 33 | | |
42 | 34 | | |
| |||
0 commit comments