Skip to content

Commit 30616c1

Browse files
committed
Fix Unauthorized → Forbidden error
1 parent 655d8c9 commit 30616c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docusaurus/docs/dev-docs/error-handling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ The `ForbiddenError` class is a specific error class used when a user either doe
405405
| --- | --- | --- | --- |
406406
| `message` | `string` | The error message | `Forbidden access` |
407407
408-
Note: `ForbiddenError` message contents will not be displayed to the Content API and will be returned to the user as an empty `UnauthorizedError`
408+
Note: `ForbiddenError` message contents will not be displayed to the Content API and will be returned to the user as an empty `ForbiddenError`
409409
410410
```js
411411
throw new ForbiddenError('Ah ah ah, you didn\'t say the magic word');

0 commit comments

Comments
 (0)