Skip to content

Commit

Permalink
docs: improve heading
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed Jun 3, 2017
1 parent ebb13c3 commit 17b8c54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ A PostgreSQL client with strict types and assertions.
* [`maybeOne`](#maybeone)
* [`one`](#one)
* [`query`](#query)
* [Overriding Errors](#overriding-errors)
* [Overriding Error Constructor](#overriding-error-constructor)
* [Error handling](#error-handling)
* [Handling `NotFoundError`](#handling-notfounderror)
* [Handling `DataIntegrityError`](#handling-dataintengrityerror)
Expand Down Expand Up @@ -265,7 +265,7 @@ const row = await connection.one('SELECT foo');

API and the result shape are equivalent to [`pg#query`](https://github.com/brianc/node-postgres).

## Overriding Errors
## Overriding Error Constructor

Overriding the error constructor used by Mightyql allows you to map database layer errors to your application errors.

Expand Down

0 comments on commit 17b8c54

Please sign in to comment.