MysqlErrorClassification

TypeExperimental

Signature

type MysqlErrorClassification = {
  kind: "undefined_table";
  tableName: string;
};

mysql/src/state-provider/state-provider.mysql.ts:13

The classification of a driver error the MySQL state adapter acts on, as returned by MysqlStateProvider.classifyError.

  • undefined_table — error 1146 (ER_NO_SUCH_TABLE), with the missing table's qualified name as the server reports it (Table '<database>.<table>' doesn't exist).

Properties

  • kind
    "undefined_table"
  • tableName
    string
esc

Search guides, integrations and every exported symbol.

↑ ↓ to navigate↵ to open