Method

PgsqlResultget_error_message

Declaration

const char*
pgsql_result_get_error_message (
  PgsqlResult* self
)

Description

Gets the error message associated with the result, if any.

Return value

Type: const char*

The error message, or NULL.

The returned data is owned by the instance.
The return value can be NULL.
The value is a NUL terminated UTF-8 string.