Alex P, Vladimir, Please confirm that the error codes documented for JDBC [1] driver are shared by all SQL APIs we have. If it’s so I would create Error Codes page under SQL Reference section and will provide error handling code snippets for JDBC, ODBC and the native APIs.
[1] https://apacheignite-sql.readme.io/v2.1/docs/error-codes — Denis