feat: add 405 No password set · entrecode/ec.errors@a860979 · GitHub
Skip to content

Commit a860979

Browse files
committed
feat: add 405 No password set
Adds a new error code 405 ("No password set") with English and German messages. Updates docs and error code tables to include the new code. Bumps version to 0.2.15 in package.json and package-lock.json.
1 parent 9d139c5 commit a860979

5 files changed

Lines changed: 23 additions & 5 deletions

File tree

docs/index.html

Lines changed: 14 additions & 2 deletions

errorCodes.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,11 @@
289289
"messageDE": "Account nicht gefunden (unbekannte E-Mail-Adresse)",
290290
"status": 404
291291
},
292+
"405": {
293+
"message": "No password set",
294+
"messageDE": "Kein Passwort vergeben",
295+
"status": 401
296+
},
292297
"410": {
293298
"message": "Insufficient rights to access the requested resource",
294299
"messageDE": "Keine Berechtigung die angeforderte Resource zu laden",

errorCodes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
| 402 | Outdated Access Token | Access Token abgelaufen | 401 |
6161
| 403 | Invalid Password | Falsches Passwort | 401 |
6262
| 404 | Account not found (unknown email address) | Account nicht gefunden (unbekannte E-Mail-Adresse) | 404 |
63+
| 405 | No password set | Kein Passwort vergeben | 401 |
6364
| 410 | Insufficient rights to access the requested resource | Keine Berechtigung die angeforderte Resource zu laden | 401 |
6465
| 411 | Insufficient rights to access the requested resource with this method | Keine Berechtigung die angeforderte Resource mit dieser Methode zu laden | 405 |
6566
| 444 | Denied because of stupidity | http://www.nichtlustig.de/toondb/040816.html | 403 |

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)