Documentation
¶
Overview ¶
Package sqlerr classifies the errors a sqlconnect DB returns, so that a caller can act on them without importing the warehouse drivers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsObjectNotFound ¶
IsObjectNotFound reports whether err, returned by a sqlconnect DB, says that the table or view, schema, database or catalog a statement addressed does not exist. A missing column or function and a permission failure are not reported, except where the engine does not tell them apart: Snowflake answers "does not exist or not authorized" (2003) and SQL Server "Invalid object name" (208) for an object the role cannot see as well. ClickHouse errors carry their own codes and are not inspected here; see clickhousequery.Describe.
Types ¶
This section is empty.