We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3dd01a5 commit 825089aCopy full SHA for 825089a
content/api/2-client.mdx
@@ -318,7 +318,7 @@ client.on('notification', msg => {
318
client.query(`NOTIFY foo, 'bar!'`)
319
```
320
321
-### client.on('notice', (notice: String) => void) => void
+### client.on('notice', (notice: Error) => void) => void
322
323
Used to log out [notice messages](https://www.postgresql.org/docs/9.6/static/plpgsql-errors-and-messages.html) from the PostgreSQL server.
324
0 commit comments