An ErrorResponse packet is sent by the server to indicate that something went wrong.
String packetType: "ErrorResponse"
List<ErrorField> errorFields: the fields in this error response (see "ErrorField object" below)
String getErrorString() : returns a string made up of all the error fields in the packet, separated by commas. This can be useful for logging and debugging.
ErrorField addErrorField(byte fieldType, String fieldValue) : adds a new ErrorField to the list.
void removeErrorField(byte fieldType): removes the specified error field, if present.
byte fieldType: the type of the field, as described in the Postgres documentation.
String typeName (readonly): the name of the field type
String fieldValue: the value of the field