Skip to content

Commit

Permalink
Add error code 4 to permissions denied.
Browse files Browse the repository at this point in the history
  • Loading branch information
Christophe BOUCAUT committed Jan 24, 2017
1 parent 7370ba0 commit 5022228
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/en/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ An `options` object containing the parameters of the camera.
+ **Note :** Contains the error code.
- **Code "2" :** Error while taking a picture.
- **Code "3" :** Camera closed before takin a picture.
- **Code "4" :** Permissions denied.
- **message :**
+ **Type :** `string`
+ **Note :** A error message.
Expand Down
1 change: 1 addition & 0 deletions doc/fr/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ La fonction `onFail` est appelée lorsque la prise de vue a échouée.
+ **Note :** Contient le code d'erreur.
- **Code "2" :** Erreur lors de l'exécution de l'appareil photo.
- **Code "3" :** L'utilisateur a fermé l'appareil photo sans prendre de photo.
- **Code "4" :** L'utilisateur a refusé une permission.
- **message :**
+ **Type :** `string`
+ **Note :** Contient un message détaillant l'erreur.
Expand Down

0 comments on commit 5022228

Please sign in to comment.