From 7b4c4bf0e1b8b05f7a7f215cd17661a9f314ef80 Mon Sep 17 00:00:00 2001 From: Marco Date: Sun, 30 Jul 2017 20:15:58 +0200 Subject: [PATCH] Document new exception for 'confirmEmail' and 'confirmEmailAndSignIn' --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 7862eeb..17d6149 100644 --- a/README.md +++ b/README.md @@ -184,6 +184,9 @@ catch (\Delight\Auth\InvalidSelectorTokenPairException $e) { catch (\Delight\Auth\TokenExpiredException $e) { // token expired } +catch (\Delight\Auth\UserAlreadyExistsException $e) { + // email address already exists +} catch (\Delight\Auth\TooManyRequestsException $e) { // too many requests }