Skip to content

Commit

Permalink
Add link to error types
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhghomon committed Jan 5, 2024
1 parent 05b8a59 commit fcf6349
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/stdlib/cfg.rst
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,10 @@ Query behavior
This parameter takes a ``str`` instead of a ``bool`` to allow more
verbose messages when all queries are forced to fail. The database will
attempt to deserialize this ``str`` into a JSON object that must include
a ``type`` (which must be an EdgeDB error type name), and may also
include ``message``, ``hint``, and ``details`` which can be set ad-hoc
by the user.
a ``type`` (which must be an EdgeDB
:ref:`error type <ref_protocol_errors>` name), and may also include
``message``, ``hint``, and ``details`` which can be set ad-hoc by
the user.

For example, the following is valid input:

Expand Down

0 comments on commit fcf6349

Please sign in to comment.