-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Made driver throw SQLSTATE 28000 for invalid username or password (#7)
* Made driver throw SQLSTATE 28000 for invalid username or password Signed-off-by: Guian Gumpac <guian.gumpac@improving.com> * Made SQLSTATE string a constant and added a separate catch block for HTTPException Signed-off-by: Guian Gumpac <guian.gumpac@improving.com> * Changed constant name to follow naming convention Signed-off-by: Guian Gumpac <guian.gumpac@improving.com> * Added 08001 SQLSTATE to catch connection errors Signed-off-by: Guian Gumpac <guian.gumpac@improving.com> * Reverted 08001 change Signed-off-by: Guian Gumpac <guian.gumpac@improving.com> --------- Signed-off-by: Guian Gumpac <guian.gumpac@improving.com>
- Loading branch information
Showing
2 changed files
with
47 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters