feat: add extract_errors to Postgres (#13997)

* feat: add extract_errors to Postgres

* Add unit tests

* Fix lint

* Fix unit tests
This commit is contained in:
Beto Dealmeida
2021-04-08 13:24:54 -07:00
committed by GitHub
parent 784d29b57c
commit c60a93db9c
11 changed files with 248 additions and 228 deletions

View File

@@ -131,3 +131,12 @@ Superset encountered an unexpected error.
Someething unexpected happened in the Superset backend. Please reach out
to your administrator.
## Issue 1012
```
The username provided when connecting to a database is not valid.
```
The user provided a username that doesn't exist in the database. Please check
that the username is typed correctly and exists in the database.