getStructuredError method
Gets structured error information including SQLSTATE and native code.
Returns null if no error occurred or if structured error info is not available.
Implementation
StructuredError? getStructuredError() => _native.getStructuredError();