When I use do.. try.. catch.. print(error) for SQL select, error return example:
sqlError(notice: Notice( localizedSeverity: ERROR severity: ERROR code: 42601 message: syntax error at or near "selectt" position: 1 file: scan.l line: 1128 routine: scanner_yyerror ))
Is there any way to just get a message? "syntax error at or near "selectt""