From 5022228fd051a1c9e76a6c621e0dc53f3298b2ba Mon Sep 17 00:00:00 2001 From: Christophe BOUCAUT Date: Tue, 24 Jan 2017 09:34:25 +0100 Subject: [PATCH] Add error code 4 to permissions denied. --- doc/en/index.md | 1 + doc/fr/index.md | 1 + 2 files changed, 2 insertions(+) diff --git a/doc/en/index.md b/doc/en/index.md index 2893a79..4e8cac4 100644 --- a/doc/en/index.md +++ b/doc/en/index.md @@ -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. diff --git a/doc/fr/index.md b/doc/fr/index.md index 632aee8..636d769 100644 --- a/doc/fr/index.md +++ b/doc/fr/index.md @@ -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.