Repository navigation
Structured errors with Prism 2.4
ServerException::getSqlState()andgetServerErrorCode()expose optional error details from Polypheny. The server can report SQLSTATEs for SQL, Cypher, and other query languages.getMessage()still returns the original server message. Missing fields returnnull, and an explicit server error code of0is preserved. Message-only responses from compatible older servers continue to work.- The driver advertises Prism 2.4 and uses the official Prism 2.4 bindings, including support for the structured errors introduced by Polypheny-DB #586.
Install with composer require "polypheny/php-driver:^1.2" on 64-bit PHP 8.2 or later.