Skip to content

Choose a tag to compare

@vogti vogti released this 21 Nov 23:26

Structured error responses

Prism 2.4 adds the optional ErrorResponse.details field. Servers can use it to send a five-character SQLSTATE and an optional numeric error code alongside the original error message.

The existing ErrorResponse.message field remains wire-compatible. Older clients can continue reading it, and newer clients can still read message-only responses from older servers.

Full changelog