Please see EPSQLDatabaseError properties short descriptions below:
An indication of the context in which the error occurred.
To get details on error occured.
Hint message from a server about error within sql statement executed.
To get position of error within internal sql statement executed.
The text of a failed internally-generated command.
To get position of error within sql statement executed.
To get general message on error occured.
To get severity of error occured.
The file name of the source-code location where the error was reported.
The name of the source-code function reporting the error.
The line number of the source-code location where the error was reported.
To get SQLSTATE representation of error within sql statement executed.